act_ns_quant | R Documentation |
A creates a dataframe showing observation counts used for a mean/CI of selected variable within a svydesign (quantitative). Best used in conjunction with Rtesunate::act_rows(). (See act_svyciprop family of functions which combines the two)
act_ns_quant(x, design)
x |
variable of interest (in quotes) |
design |
svydesign object containing the variable/value |
A dataframe showing counts of observations used to calculate the mean/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.