Description Usage Arguments Value
View source: R/poststratificationFunctions.R
Returns a synthetic frequency distribution derived from the product of marginal distributions. in two input PSFrames. This can be repeated recursively to include more features.
1 | getSyntheticPSFrame(PSFrame1, PSFrame2)
|
PSFrame1 |
A dataframe containing the empirical frequency for each demographic group within each subnational unit |
PSFrame |
A dataframe containing the empirical frequency for each demographic group within each subnational unit |
A synthetic poststratification frame computed from the marginal frequencies in PSFrame1 and PSFrame2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.