anthro_api_compute_prevalence {anthro} | R Documentation |
Compute prevalence of zscores
Description
Compute prevalence of zscores
Usage
anthro_api_compute_prevalence(data, zscores_to_compute, survey_subsets)
Arguments
data |
a data frame containing the underlying data |
zscores_to_compute |
a list of zscore indicators that should be computed. The list needs to have 4 named values:
|
survey_subsets |
subsets for which the prevalence values should be computed. It is a named list of characters, where the values correspond to columns and the names to labels in the output. |
Note
This function is meant to be used by other anthro related packages. It is not advised to use this in you own packages or analysis. If you must use it, prepare for potential breaking changes in the future.