get_formula: Obtain the Right-Hand-Side of a Given Model

View source: R/utils.R

get_formulaR Documentation

Obtain the Right-Hand-Side of a Given Model

Description

Obtain the Right-Hand-Side of a Given Model

Usage

get_formula(fit)

Arguments

fit

A fitted model object of class lm.

Value

A character string with the right-hand-side of the model formula. If the model has the intercept only, "Intercept only" will be returned rather than "1".


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.