[R] complex splits
Thomas Lumley
tlumley at u.washington.edu
Fri Aug 16 16:49:28 CEST 2002
On Thu, 15 Aug 2002, Pierre Kleiber wrote:
>
> split(d$splitcol,paste(d$col1,d$col2))
>
or more simply
split(d$splitcol,list(d$col1,d$col2))
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list