Description Usage Arguments Details Examples
Check whether levels of a factor are within- or between- unit.
1 |
data |
Unquoted name of a data frame. |
x |
Unquoted name of variable to check. |
unit |
Unquoted name of sampling unit factor. |
First checks whether the factor x
is between unit
by testing that each sampling unit has only a single level. If
not, then the factor is assumed to be within. The user is warned
if some units are missing levels. This behavior can be turned off
by wrapping the call in suppressWarnings()
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.