2

R Version 2.11.1 32-bit on Windows 7

Now I get the code: lapply(x, rank)

but I want the "rank" to be: ties.method="first"

Gavin Simpson
  • 170,508
  • 25
  • 396
  • 453
PepsiCo
  • 1,399
  • 4
  • 13
  • 18

1 Answers1

6

As part of the optional argument ...: lapply(x, rank, ties.method = "first").

See ?lapply for details.

Chase
  • 67,710
  • 18
  • 144
  • 161