A recurring point of confusion for users is how to drop missing values of a variable they want to calculate proportions for. Right now, it seems like many users think they're supposed to be able to do this by specifying na.rm = TRUE (#106, #146, #149, #158).
This PR updates the help page for survey_mean() and survey_prop() to clearly document how missing values are handled by na.rm = TRUE and to recommend what users should do specifically for proportions.
A recurring point of confusion for users is how to drop missing values of a variable they want to calculate proportions for. Right now, it seems like many users think they're supposed to be able to do this by specifying
na.rm = TRUE
(#106, #146, #149, #158).This PR updates the help page for
survey_mean()
andsurvey_prop()
to clearly document how missing values are handled byna.rm = TRUE
and to recommend what users should do specifically for proportions.