Learn R Programming

mosaic (version 0.13.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 class 'msummary.lm':
print(x, digits = max(3L, getOption("digits") - 3L),
  symbolic.cor = x$symbolic.cor,
  signif.stars = getOption("show.signif.stars"), ...)

## S3 method for class '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 class 'default': msummary(object, ...)

## S3 method for class 'lm': msummary(object, ...)

## S3 method for class 'glm': msummary(object, ...)

Arguments

x
an object to summarize
digits
desired number of digits to display
symbolic.cor
signif.stars
a logical indicating whether to diplay stars to indicate significance
...
aditional 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