Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

modelsSummary2

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)

processR

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.