Operators acting on objects to extract or replace parts.
Arguments
- x
An object from which to extract element(s) or in which to replace element(s).
- i, j, k
Indices specifying elements to extract or replace.
- drop
A
logicalscalar: should the result be coerced to the lowest possible dimension? This only works for extracting elements, not for the replacement.
See also
Other mutators:
as.data.frame(),
as.list(),
labels(),
mutators