Extract.pim.summary {pim} | R Documentation |
This method allows to extract data directly from a pim.summary
object. It's exactly the same as extracting from as.matrix(thesummary)
.
## S4 method for signature 'pim.summary'
x[i, j, drop = TRUE]
x |
object from which to extract element(s) or in which to replace element(s). |
i |
indices specifying elements to extract or replace. Indices are
For When indexing arrays by An index value of |
j |
see i |
drop |
For matrices and arrays. If |
the selected matrix
data(FEVData)
Model <- pim(FEV~ Smoke*Sex , data=FEVData)
thesummary <- summary(Model)
thesummary[,2:3]
thesummary["Sex"]