modelsum
object.Format the information in object
as a table using Pandoc coding or plain text, and cat it to stdout.
# S3 method for modelsum
summary(
object,
...,
labelTranslations = NULL,
text = FALSE,
title = NULL,
term.name = "",
adjustment.names = FALSE
)# S3 method for summary.modelsum
as.data.frame(
x,
...,
text = x$text,
term.name = x$term.name,
adjustment.names = x$adjustment.names,
width = NULL,
min.split = NULL,
list.ok = FALSE
)
A modelsum
object.
For summary.modelsum
, other arguments passed to as.data.frame.modelsum
.
For as.data.frame.summary.modelsum
, "width" and "min.split" are passed to smart.split
.
For print
ing the summary object, these are passed to both as.data.frame.summary.modelsum
and
kable
.
A named list (or vector) where the name is the label in the
output to be replaced in the pretty rendering by the character string
value for the named element of the list, e.g., list(age = "Age(Years)", meansd = "Mean(SD)")
.
An argument denoting how to print the summary to the screen.
Default is FALSE
(show markdown output). TRUE
and NULL
output a text-only version, with
the latter avoiding all formatting.
"html"
uses the HTML tag <strong>
instead of the markdown formatting, and "latex"
uses
the LaTeX command \textbf
.
Title/caption for the table, defaulting to NULL
(no title). Passed to kable
.
Can be length > 1 if the more than one table is being printed.
A character vector denoting the column name for the "terms" column. It should be the same length
as the number of tables or less (it will get recycled if needed). The special value TRUE
will
use the y-variable's label for each table.
Logical, denoting whether the names of the adjustment models should be printed.
An object of class "summary.modelsum"
.
Passed to smart.split
for formatting of the "term" column.
Passed to smart.split
for formatting of the "term" column.
If the object has multiple by-variables, is it okay to return a list of data.frames instead of a single data.frame?
If FALSE
but there are multiple by-variables, a warning is issued.
An object of class "summary.modelsum"