combine_data {povmap} | R Documentation |
Combines Sample and Population Data
Description
This function combines the aggregated population information with the aggregated sample data. The merge is based on the domains. Out-of-sample domains will have NA values for the variables from the sample data.
Usage
combine_data(pop_data, pop_domains, smp_data, smp_domains)
Arguments
pop_data |
a data frame with population data. |
pop_domains |
a character string indicating the domain variable that is
included in |
smp_data |
a data frame with sample data. |
smp_domains |
a character string indicating the domain variable that is
included in |
Value
a combined data set.
[Package povmap version 1.0.1 Index]