Extract.pim.summary {pim} | R Documentation |
Extract method for pim.summary objects
Description
This method allows to extract data directly from a pim.summary
object. It's exactly the same as extracting from as.matrix(thesummary)
.
Usage
## S4 method for signature 'pim.summary'
x[i, j, drop = TRUE]
Arguments
x |
a |
i |
indices specifying row to extract or replace. They are used in the same way as you woul after transforming |
j |
see i, but for columns |
drop |
see |
Value
the selected matrix
Examples
data(FEVData)
Model <- pim(FEV~ Smoke*Sex , data=FEVData)
thesummary <- summary(Model)
thesummary[,2:3]
thesummary["Sex"]
[Package pim version 2.0.4 Index]