checkIndex | R Documentation |
Check the Validity of an Index Vector
checkIndex(index, ns, var.name)
index |
An index vector for subsetting columns of a data frame. |
ns |
A character vector of variable names in the data frame. |
var.name |
The index variable name. Simply used to generate potential error messages. |
The regularized index vector if it's valid. Otherwise, an error is raised.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.