library(modelsummary) mod <- list() mod[['One variable']] <- lm(mpg ~ hp, mtcars) mod[['Two variables']] <- lm(mpg ~ hp + drat, mtcars) modelsummary(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.