checkIndex {MAnorm2} | R Documentation |
Check the Validity of an Index Vector
Description
Check the Validity of an Index Vector
Usage
checkIndex(index, ns, var.name)
Arguments
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. |
Value
The regularized index vector if it's valid. Otherwise, an error is raised.
[Package MAnorm2 version 1.2.2 Index]