The extracting syntax works as for [.data.frame, and in general the returned object is not a CBData or CMData object.
However if the columns are not modified, then the result is still a CBData or CMData object with appropriate attributes preserved,
and the unused levels of treatment groups dropped.
Usage
# S3 method for CBData
[(x, i, j, drop)
# S3 method for CMData
[(x, i, j, drop)
Value
a CBData or CMData object
Arguments
x
CMData object.
i
numeric, row index of extracted values
j
numeric, column index of extracted values
drop
logical. If TRUE the result is coerced to the lowest possible dimension.
The default is the same as for [.data.frame: to drop if only one column is left, but not to drop if only one row is left.