subsetp {table1} | R Documentation |
Subset function that preserves column attributes.
Description
Subset function that preserves column attributes.
Usage
subsetp(x, ..., droplevels = TRUE)
Arguments
x |
An object to be subsetted (usually a |
... |
Further arguments passed to |
droplevels |
If |
Value
An object similar to x
containing just the selected elements.
In the case of a data.frame
, attributes of columns (such as
label
and units
) are preserved.
See Also
[Package table1 version 1.4.3 Index]