set_output {surveytable} | R Documentation |
show_output()
shows the current defaults.
set_output(drop_na = NULL, max_levels = NULL, csv = NULL)
show_output()
drop_na |
drop missing values ( |
max_levels |
a categorical variable can have at most this many levels. Used to avoid printing huge tables. |
csv |
name of a CSV file or "" to turn off CSV output |
(Nothing.)
Other options:
set_count_1k()
,
set_survey()
,
show_options()
,
surveytable-options
tmp_file = tempfile(fileext = ".csv")
suppressMessages( set_output(csv = tmp_file) )
tab("AGER")
set_output(csv = "") # Turn off CSV output