[R] Repeating Name for Rows

ecvetano at uwaterloo.ca ecvetano at uwaterloo.ca
Tue May 18 17:17:08 CEST 2010


Hello,
I have a large data frame (47:2186), where i want to label every 12th row.
This command works,
Day <-rep(97:278, each = 12)
However i need 97 to only labeled 11 rows and then from 98:278 can be  
labeled every 12 times.

Thanks!



More information about the R-help mailing list