ch.getLmModel: a function to return an LM model that can be evaluated (i.e,...

ch.getLmModelR Documentation

a function to return an LM model that can be evaluated (i.e, an expression) from an lm object

Description

This function returns an LM model that can be evaluated (i.e, an expression) from an lm object

Usage

ch.getLmModel(
  linearFit,
  yLab = NULL,
  xLab = expression(paste("", Psi, "(value) Distributional overlap", sep = ""))
)

Arguments

linearFit

an lm object.

Value

expression with of the best fitting model (with parameters and predictor variables)

Examples

ch.getLmModel (lmObject)
model <- ch.getLmModel (lmObject)
with(data, eval(model)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.