Learn R Programming

mosaicCore (version 0.9.0)

print.msummary.lm: Modified summaries

Description

msummary provides modified summary objects that typically produce output that is either identical to or somewhat terser than their summary() analogs. The contents of the object itself are unchanged (except for an augmented class) so that other downstream functions should work as before.

Usage

# S3 method for msummary.lm
print(
  x,
  digits = max(3L, getOption("digits") - 3L),
  symbolic.cor = x$symbolic.cor,
  signif.stars = getOption("show.signif.stars"),
  ...
)

# S3 method for msummary.glm print( x, digits = max(3L, getOption("digits") - 3L), symbolic.cor = x$symbolic.cor, signif.stars = getOption("show.signif.stars"), ... )

msummary(object, ...)

# S3 method for default msummary(object, ...)

# S3 method for lm msummary(object, ...)

# S3 method for glm msummary(object, ...)

Arguments

x

an object to summarize

digits

desired number of digits to display

symbolic.cor

see summary()

signif.stars

a logical indicating whether to display stars to indicate significance

...

additional arguments

object

an object to summarise

Examples

Run this code
msummary(lm(Sepal.Length ~ Species, data = iris))

Run the code above in your browser using DataLab