Description Usage Arguments Value Author(s) Examples
This function converts a numeric vector of indices to a logical vector. It is used for subsetting purposes.
1 | maNum2Logic(n=length(subset), subset=TRUE)
|
n |
the length of the logical vector to be produced. |
subset |
a numeric vector of indices. A logical vector may also be supplied, in which case it is also the value of the function. |
a logical vector.
Sandrine Dudoit, http://www.stat.berkeley.edu/~sandrine.
1 | maNum2Logic(10, 1:3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.