Crate a LaTeX or HTML table of the likert
results.
# S3 method for likert
xtable(
x,
caption = NULL,
label = NULL,
align = NULL,
digits = NULL,
display = NULL,
auto = FALSE,
include.n = TRUE,
include.mean = TRUE,
include.sd = TRUE,
include.low = TRUE,
include.neutral = (x$nlevels%%2 != 0),
include.high = TRUE,
include.levels = TRUE,
include.missing = TRUE,
center = (x$nlevels - 1)/2 + 1,
ordered = TRUE,
...
)
likert class object.
the table caption.
the table label.
column alignments.
number of digits to use for numeric columns.
column formats.
Logical, indicating whether to apply automatic format when no
value is passed to align, digits, or display (see xtable
for more information.
option to include n
option to include mean
option to include sd
option to include low
option to include neutral
option to include high
option to include levels
option to include missing levels.
specifies which level should be treated as the center. For example,
center = 3
would use the third level as the center whereas
center = 3.5
would indicate no specific level is the center but
<= 3 are low levels and >= 4 are high levels (i.e. used for forced choice
items or those without a neutral option). This also influences which levels
are summarized in the low and high groups.
whether the results should be ordered. See summary.likert
other parameters passed to xtable.
xtable, print.xtable