Description Usage Arguments Details Value
View source: R/unify_margins.R
This is an internal function called by rake_survey()
that makes sure that the raking targets and the survey data match up.
1 | unify_margins(pop_margins, .data)
|
pop_margins |
A list of tibbles giving the population margins for raking variables. |
.data |
The survey data to be raked. |
Ensures that the factor levels for each variable in the targets and in the data are in the same order, and that the list of targets is not named.
Cleaned raking targets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.