Learn R Programming

arsenal (version 3.6.3)

as.data.frame.modelsum: as.data.frame.modelsum

Description

Coerce a modelsum object to a data.frame.

Usage

# S3 method for modelsum
as.data.frame(x, ..., labelTranslations = NULL, list.ok = FALSE)

Arguments

x

A modelsum object.

...

Arguments to pass to modelsum.control.

labelTranslations

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)").

list.ok

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.

Value

A data.frame.

See Also

modelsum, summary.modelsum