[R] generating a sequence
karen at gecko.biol.wits.ac.za
Tue Dec 21 14:20:55 CET 1999
I'm trying to generate a vector of the form
a <- c(1,2,3,4,1,2,3,1,2,1) where n = 5
in a general way, where n can be any positive integer.
I've run out of ideas. Does anyone have any suggestions?
Centre for Water in the Environment
University of the Witwatersrand
Tel: 011 716-2218
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help