Skip to content
Prev 243644 / 398513 Next

Sequence for repeated numbers

Luana -
    It's probably not the most efficient way, but here's
a solution that's not dependent on the grades being sorted:
[1] 1 2 3 1 2 1 2 3 4 1 2 3 1 2 3 4 5 1 2 3

 					- Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Wed, 1 Dec 2010, Luana Marotta wrote: