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, ...)

Arguments

x

the object to split

f

the groups to use for splitting the object

drop

logical indicating if levels that do not occur should be dropped.

...

Ignored.

Value

A list of objects with an attribute of groupid consisting of a data.frame with columns for each group.

Details

If x is NA then a list with NA as the only element and a "groupid" attribute of an empty data.frame is returned.