Descriptives with confidence intervals
descriptiveCIs(
data,
items = NULL,
itemLabels = NULL,
conf.level = 0.95,
digits = 2
)# S3 method for rosettaDescriptiveCIs
print(x, digits = attr(x, "digits"), forceKnitrOutput = FALSE, ...)
A data frame with class rosettaDescriptiveCIs
prepended to allow
printing neatly while knitting to Markdown.
The data frame holding the data, or a vector.
If supplying a data frame as data
, the names of the
columns to process.
Optionally, labels to use for the items (optionally, named,
with the names corresponding to the items
; otherwise, the order of the
labels has to match the order of the items)
The confidence level of the confidence intervals.
The number of digits to round the output to.
The object to print (i.e. the object returned by descriptiveCIs
).
Whether to force knitr
output even when
not knitting.
Any additional arguments are passed on to knitr::kable()
or to
base::print()
.