Divides Data into Subsets by Factor
Converts data into a list form where data are grouped together by factor. Achieves the same objective as the base function split
.
cat2list(x, a)
x |
name of the data variable to be processed. |
a |
name of the factor variable by which the data are to be split. |
data |
a list containing factors as columns and the values for those factors as rows. The order of the resulting groups, subsets, is the order in which the factor variable names were encountered in parameter |
Douglas W. Nychka
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.