Subsetting Lexis (and stacked.Lexis) objects
Return subsets of Lexis objects which meet conditions
## S3 method for class 'Lexis' subset(x, ...) ## S3 method for class 'Lexis' x[...] ## S3 method for class 'stacked.Lexis' subset(x, ...)
x |
an object of class |
... |
additional arguments to be passed to
|
The subset method for Lexis
objects works exactly as the method
for data frames. So does the "[" method. The special methods are needed in
order to propagate the Lexis-specific attributes.
The method for stacked.Lexis
objects also shrinks the set of
levels for lex.Cst
and lex.Xst
to those actually
occurring in the resulting data frame.
A Lexis
object with selected rows and columns.
Martyn Plummer
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.