[R] to calculate c(rep("1", 43), rep("2",43),...., rep("10",43))

Arnaud Michel michel.arnaud at cirad.fr
Thu Dec 11 11:12:14 CET 2014


Hello
I would like to find an elegant way of calculating
c(rep("1", 43), rep("2",43),...., rep("10",43))

Any idea ?
Thank you

-- 
Michel ARNAUD
DGDRD-Drh - TA 174/04
tel : 04.67.61.75.38
port: 06.47.43.55.31



More information about the R-help mailing list