| set_survey | R Documentation |
You must specify a survey before the other functions, such as tab(),
will work. To convert a data.frame or similar to a survey object, see survey::svydesign()
or survey::svrepdesign().
set_survey(design, ...)
design |
a survey object, created with |
... |
arguments to |
Optionally, the survey can have an attribute called label, which is the
long name of the survey. Optionally, each variable in the survey can have an
attribute called label, which is the variable's long name.
info about the survey
Other options:
set_opts(),
show_options(),
surveytable-options
set_survey(namcs2019sv)
set_survey(namcs2019sv, mode = "general")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.