apa_performance: format model performance metrics in APA style

View source: R/tables.R

apa_performanceR Documentation

format model performance metrics in APA style

Description

format model performance metrics in APA style

Usage

apa_performance(fit, metrics = c("R2", "Sigma"), column_formats = NULL)

## S3 method for class 'lm'
apa_performance(fit, metrics = c("R2", "Sigma"), column_formats = NULL)

Arguments

fit

model fit object

metrics

performance metrics. Default is R2 and Sigma

column_formats

column_formats object to format columns. If NULL, the default column_formats is used.

Value

tibble

Examples

lm(mpg ~ cyl + wt, data = mtcars) |>
   apa_performance() |>
   apa_flextable()

apa7 documentation built on May 26, 2026, 5:07 p.m.