These functions extract, subset and replace data in a
mutaframe. For the most part, these behave much like
those for data.frame
.
A mutaframe
Name of the column to extract
The row indices
The column indices
Arguments passed to methods
The replacement column
If TRUE
and the result of subsetting
is a single column or row, that column or row is
extracted as the result. By default, this is TRUE
if the result has one column.
The selected column
The selected column
A dynamic, filtering mutaframe
The subset function, [
, does not copy the data; it
establishes a dynamic filter.
Replacing an existing variable will pass the replacement data up the reverse pipeline, towards the root. When defining a new variable, the variable is stored in the current mutaframe; not at the root.