varLevel | R Documentation |
Shows levels of each variable with respect to grouping formula of form ~id or nested ids ~id1/id2
varLevel(x, form, ...)
x |
data frame |
form |
formula (evaluated in |
... |
extra arguments to |
Level 0 is a constant for the whole data frame, Level <= 1 implies the variable is constant within levels of id1, Level <= 2 implies the variable is constant within levels of id2, ... etc.
NOTE: NA counts as a distinct value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.