set_output {surveytable} | R Documentation |
Set output defaults
Description
show_output()
shows the current defaults.
Usage
set_output(drop_na = NULL, max_levels = NULL, csv = NULL)
show_output()
Arguments
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 |
Value
(Nothing.)
See Also
Other options:
set_count_1k()
,
set_survey()
,
show_options()
,
surveytable-options
Examples
tmp_file = tempfile(fileext = ".csv")
suppressMessages( set_output(csv = tmp_file) )
tab("AGER")
set_output(csv = "") # Turn off CSV output
[Package surveytable version 0.9.4 Index]