[R] Creating list from a long vector
Romain Francois
romain.francois at dbmail.com
Sat Aug 14 18:25:52 CEST 2010
Le 14/08/10 18:22, steven mosher a écrit :
>
> Stupid question, but its been a long night.
>
> If I have a long vector how can I turn it into a list of the same length
>
> x<-rep(seq(1,100,by=1),each=10)
Perhaps as.list ?
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/bzoWrs : Rcpp svn revision 2000
|- http://bit.ly/b8VNE2 : Rcpp at LondonR, oct 5th
`- http://bit.ly/aAyra4 : highlight 0.2-2
More information about the R-help
mailing list