modelsSummary: Make Model Coef Summary

View source: R/modelsSummary.R

modelsSummaryR Documentation

Make Model Coef Summary

Description

Make Model Coef Summary

Usage

modelsSummary(fit, labels = NULL)

Arguments

fit

A list of objects of class lm

labels

optional list

Value

A data.frame

Examples

fit1=lm(mpg~wt,data=mtcars)
fit2=lm(mpg~wt*hp,data=mtcars)
fit3=lm(mpg~wt*hp*am,data=mtcars)
labels=list(Y="mpg",X="wt",W="hp",Z="am")
modelsSummary(list(fit1),labels=labels)
modelsSummary(list(fit1,fit2),labels=labels)
modelsSummary(list(fit1,fit2))
modelsSummary(list(fit1,fit2,fit3),labels=labels)

cardiomoon/semMediation documentation built on Nov. 16, 2023, 4:26 a.m.