modelsSummary2: Make Summary for Model Coefficients

View source: R/modelsSummary2.R

modelsSummary2R Documentation

Make Summary for Model Coefficients

Description

Make Summary for Model Coefficients

Usage

modelsSummary2(
  fit,
  labels = NULL,
  prefix = "b",
  constant = "iy",
  fitlabels = NULL,
  autoPrefix = TRUE
)

Arguments

fit

A list of objects of class lm

labels

optional list

prefix

A character

constant

A string vector

fitlabels

Optional. labels of models

autoPrefix

logical

Value

A data.frame

Examples

fit1=lm(mpg~wt,data=mtcars)
fit2=lm(mpg~wt*hp*vs+am,data=mtcars)
labels=list(Y="mpg",X="wt",W="hp",Z="vs")
fit=list(fit1,fit2)
modelsSummary2(fit,labels=labels)
modelsSummary2(fit,labels=labels,prefix=c("c","b"),autoPrefix=FALSE)
modelsSummary2(fit1)

cardiomoon/processR documentation built on April 20, 2023, 3:38 a.m.