poststratify | R Documentation |
Get poststratified estimates from a model
poststratify(
model,
poststratification_frame,
estimates_by,
weight_column = n,
lower_confidence = 0.025,
upper_confidence = 1 - lower_confidence,
draws = "predicted",
slice_size = NULL,
progress = FALSE,
...
)
draws |
predicted (default) or fitted. Predicted incorporates all uncertainty. |
... |
Extra arguments for adding draws from tidybayes. See tidybayes::add_predicted_draws() for details. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.