keep {stokes} | R Documentation |
Keep or drop variables
Description
Keep or drop variables
Usage
keep(K, yes)
discard(K, no)
Arguments
K |
Object of class |
yes , no |
Specification of dimensions to either keep (yes) or discard (no) |
Details
Function keep(omega,yes)
keeps the terms specified and
discard(omega,no)
discards the terms specified. It is not clear
to me what these functions mean from a mathematical perspective.
Value
The functions documented here all return a kform
object.
Author(s)
Robin K. S. Hankin
See Also
Examples
(o <- kform_general(7,3,seq_len(choose(7,3))))
keep(o,1:4) # keeps only terms with dimensions 1-4
discard(o,1:2) # loses any term with a "1" in the index
[Package stokes version 1.2-1 Index]