View source: R/other-functions.R
| check.factor | R Documentation |
Validates that factor levels are exactly 1, 2, ..., num
check.factor(factor.vec, num)
factor.vec |
Factor vector to check |
num |
Expected number of levels |
Logical: TRUE if factor levels are invalid, FALSE if valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.