| nCases | R Documentation |
Accessing cases regardless how a dataset is stored.
nCases(X)
## Default S3 method:
nCases(X)
selectCases(X, I)
## Default S3 method:
selectCases(X, I)
X |
the dataset, may be a vector a matrix, a dataframe, or if implmenented something more advanced. |
I |
the Index vector indexing the cases |
returns the subset of cases.
nCases(default): default method working for most know types of datasets, by using the first array dimension (if applicable) or the length as number of cases.
selectCases(): selects the cases given by the index I
selectCases(default): selects the cases given by the index I
nCases(1:5)
nCases
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.