applyCatAdjustmentToSimframeVarSingle | R Documentation |
Adjust the proportions of a single simframe variable.
applyCatAdjustmentToSimframeVarSingle(
Simenv,
varname,
desired_props,
propens,
print_adj = T,
logiset = NULL
)
Simenv |
simenv receiving object. Simenv$simframe is modified. |
varname |
simframe variable to adjust |
desired_props |
a vector of desired proportions, eg: c(0.1, 0.1, 0.8) |
propens |
propensities for this variable, if any |
logiset |
logical vector indicating which rows to include, or NULL (the default) to include all. |
printAdj |
if TRUE, display adjusted proportions after adjustment |
NULL. simframe in receiving object is modified directly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.