combine_data {povmap} | R Documentation |
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.
combine_data(pop_data, pop_domains, smp_data, smp_domains)
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 |
a combined data set.