purge_by_n | R Documentation |
purge_by_n
replaces the data entries at group n_obs < min_n
to
NA.
purge_by_n(df, id, min_n = 1L, rm_allna = FALSE)
df |
The name of a primary data file. By default, it will be determined
automatically after matching the types of data and analysis with an
|
id |
Character string; one of |
min_n |
Positive integer. When calling from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.