View source: R/create_coef_table.R
create_coef_table | R Documentation |
Create Table of Coefficients for VADIS analysis
create_coef_table(mod_list)
mod_list |
A list of regression model objects. |
path |
Path in which to save the output (as |
The function loops through a list of model objects, extracts the coefficient estimates, and compiles them in a single dataframe.
A dataframe
Jason Grafmiller
## Not run:
lm_fnc <- function(x) lm(Sepal.Length ~ Petal.Length + Petal.Width, data = x)
rm_list <- fit.vadis.RM(iris, split.by = "Species", fit.func = lm_fnc,
path = FALSE)
summary(rm_list[[1]])
create_coef_table(rm_list, path = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.