splitBy {doBy} | R Documentation |
This is essentially a wrapper for the 'split' function, - the important difference being that variables to order by can be given by a model formula.
splitBy(formula, data = parent.frame())
formula |
The right hand side of a formula |
data |
A data frame |
A list of data frames
Søren Højsgaard, sorenh@agrsci.dk
~~objects to See Also as help
, ~~~
data(dietox) splitBy(formula = ~Evit+Cu, data = dietox)