View source: R/modelsSummary2.R
modelsSummary2 | R Documentation |
Make Summary for Model Coefficients
modelsSummary2( fit, labels = NULL, prefix = "b", constant = "iy", fitlabels = NULL, autoPrefix = TRUE )
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 |
A data.frame
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.