If I perceive the issue:
Day <- c(rep(97, each = 11), rep(98:278, each = 12))
-
A R learner.
--
View this message in context:
http://r.789695.n4.nabble.com/Repeating-Name-for-Rows-tp2221457p2221492.html
Sent from the R help mailing list archive at Nabble.com.
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!
__
R-help@r-proj
2 matches
Mail list logo