Learn R Programming

processR (version 0.2.3)

modelsSummaryTable: Make Summary Table for Model Coefficients

Description

Make Summary Table for Model Coefficients

Usage

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

Arguments

x

An object of class modelSummary

vanilla

A logical

...

further arguments to be passed to modelsSummary()

Value

A flextable

Examples

Run this code
# NOT RUN {
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)
modelsSummary(list(fit1,fit2),labels=labels)
modelsSummaryTable(list(fit1,fit2),labels=labels,vanilla=FALSE)
x=modelsSummary(list(fit1,fit2,fit3),labels=labels)
modelsSummaryTable(x)
modelsSummaryTable(labels=labels,data=pmi)
# }

Run the code above in your browser using DataLab