svysummary | R Documentation |
Weighted five-number summary used for survey.design
and
survey.design2
objects (similar to base::summary
for [numeric vectors]
).
svysummary(object, design, na.rm = FALSE, ...)
object |
one-sided |
design |
an object of class |
na.rm |
|
... |
additional arguments. |
A weighted five-number summary (numeric variable) or a frequency table (factor variable).
data(workplace) library(survey) # Survey design for simple random sampling without replacement dn <- svydesign(ids = ~ID, strata = ~strat, fpc = ~fpc, weights = ~weight, data = workplace) svysummary(~payroll, dn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.