split.PKNCAconc
divides data into individual groups defined by
getGroups.PKNCAconc
.
# S3 method for PKNCAconc
split(x, f = getGroups(x), drop = TRUE, ...)# S3 method for PKNCAdata
split(x, ...)
# S3 method for PKNCAdose
split(x, f = getGroups(x), drop = TRUE, ...)
the object to split
the groups to use for splitting the object
logical indicating if levels that do not occur should be dropped.
Ignored.
A list of objects with an attribute of groupid consisting of a data.frame with columns for each group.
If x
is NA
then a list with NA as the only
element and a "groupid" attribute of an empty data.frame is
returned.