You must specify a survey before the other functions, such as tab(),
will work. To convert a data.frame to a survey object, see survey::svydesign()
or survey::svrepdesign().
either a survey object (created with survey::svydesign() or
survey::svrepdesign()); or, for an unweighted survey, a data.frame.
csv
name of a CSV file
...
arguments to set_opts().
Details
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.
See Also
Other options:
set_opts(),
show_options(),
surveytable-options