Extract {CorrBin} | R Documentation |
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.
## S3 method for class 'CBData'
x[i, j, drop]
## S3 method for class 'CMData'
x[i, j, drop]
x |
|
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 |
a CBData
or CMData
object
Aniko Szabo
CBData
, CMData
data(shelltox)
str(shelltox[1:5,])
str(shelltox[1:5, 2:4])
data(dehp)
str(dehp[1:5,])
str(dehp[1:5, 2:4])