equation: Print the output of 'lm()' with the fitted equation.

View source: R/equation.R

equationR Documentation

Print the output of lm() with the fitted equation.

Description

Print the output of lm() with the fitted equation.

Usage

equation(x, digits = max(3L, getOption("digits") - 3L))

Arguments

x

The fitted linear model to print.

digits

The minimal number of significant digits.

Value

Invisibly return the fitted linear model.


supernova documentation built on May 29, 2024, 4:47 a.m.