| apa_performance_comparison | R Documentation |
format model comparison metrics in APA style
apa_performance_comparison(
...,
metrics = c("R2", "deltaR2", "F", "p"),
starred = NA,
column_formats = NULL
)
... |
model fit objects |
metrics |
performance metrics. Default is R2, deltaR2, F, and p |
starred |
columns to star with significant p_values |
column_formats |
column_formats object to format columns. If NULL, the default column_formats is used. |
tibble
m1 <- lm(mpg ~ cyl, data = mtcars)
m2 <- lm(mpg ~ cyl + wt, data = mtcars)
apa_performance_comparison(list(`Model 1` =m1, `Model 3` =m2)) |>
apa_flextable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.