Learn R Programming

processR (version 0.2.7)

modelsSummaryTable: Make Summary Table for Model Coefficients

Description

Make Summary Table for Model Coefficients

Usage

modelsSummaryTable(x = NULL, vanilla = TRUE, ...)

Value

A flextable

Arguments

x

An object of class modelSummary

vanilla

A logical

...

further arguments to be passed to modelsSummary()

Examples

Run this code
# \donttest{
fit1=lm(mpg~wt,data=mtcars)
fit2=lm(mpg~wt*hp,data=mtcars)
fit3=lm(mpg~wt*hp*am,data=mtcars)
labels=list(X="wt",W="hp",Y="mpg",Z="am")
x=modelsSummary(fit1,labels=labels)
modelsSummaryTable(x)
modelsSummaryTable(x,vanilla=FALSE)
x=modelsSummary(list(fit1,fit2),labels=labels)
modelsSummaryTable(x)
modelsSummaryTable(x,vanilla=FALSE)
x=modelsSummary(list(fit1,fit2,fit3),labels=labels)
modelsSummaryTable(x)
modelsSummaryTable(x,vanilla=FALSE)
# }

Run the code above in your browser using DataLab