View source: R/util_observations_in_subgroups.R
| util_observations_in_subgroups | R Documentation |
This function uses !is.na to count the number of non-missing observations in subgroups of
the data (list) and in a set of user defined response variables. In some applications it is
required that the number of observations per e.g. factor level is higher than a user-defined
minimum number.
util_observations_in_subgroups(x, rvs)
x |
data frame |
rvs |
variable names |
matrix of flags
prep_min_obs_level
util_check_group_levels
Other robustness_functions:
util_as_valid_missing_codes(),
util_check_one_unique_value(),
util_correct_variable_use(),
util_empty(),
util_ensure_character(),
util_ensure_in(),
util_ensure_suggested(),
util_expect_scalar(),
util_fix_rstudio_bugs(),
util_is_integer(),
util_is_numeric_in(),
util_is_valid_missing_codes(),
util_match_arg(),
util_only_NAs(),
util_stop_if_not(),
util_warn_unordered()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.