Description Usage Arguments Value Note See Also Examples
Subgrid by selection of levels in one dimension.
1 |
X |
An object with class |
subset |
An expression concerning one of the dimension of |
type |
The wanted type of result. When |
drop |
Logical. If |
A vector of integer indices, a Grid
object or a list
embedding these two elements, depending on the value of type
.
The new Grid
returned (if any) uses consecutive
numbers for the nodes between 1 and the number of new nodes. So it
no longer keeps trace of the nodes position in X
. However
the surviving nodes are kept in the order that they had in
X
.
When a response vector or matrix say Y
is related to the
original grid X
, the index vector returned by
subgrid
can be used to select the corresponding responses.
The subset
method.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.