act_row | R Documentation |
A creates a dataframe with weighted means and cluster adjusted 95% confidence intervals for specific responses for categorical data in svydesign
act_row(x, term, design, ...)
x |
variable of interest (in quotes) |
term |
the value for which estimates are desired (in quotes) |
design |
svydesign object containing the variable/value |
... |
confidence interval options passed to svyciprop function. See svyciprop documentation for information |
A dataframe providing the mean, 95% CI
using api data from survey package
data(api)
design <- svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
act_row("cname", "Los Angeles", design)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.