Description Usage Arguments Details Value Examples
Performs a test that every grouped level of a dataframe has exactly n rows.
1 | test_n_per_group(df, n, ...)
|
df |
A dataframe |
n |
Expected number of rows |
... |
Grouping variables |
You can use multiple grouping variables in this function.
The dataframe passed to the function.
1 2 | # Basic usage - passes
test_n_per_group(iris, 50, Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.