Select.matrix | R Documentation |
Select
Subscripts a range of elements (e.g., from a vector or list), based on the name of the elements.
## S3 method for class 'matrix'
Select(x, from, to, MARGIN = NULL, drop = FALSE)
x |
The object to be subscripted. |
from |
The name of the first element to be selected. |
to |
The name of the last element to be selected. |
MARGIN |
The margin of the object to select from. Only used with arrays and matrices. |
drop |
Whether to drop the final dimension. This parameter is only used for arrays and matrices. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.