# Create some example data
x <- c(3.5, 2.1, 7.5, 5.6, 3.3, 6.0, 5.6)
y <- c(2.3, 4.7, 7.8, 9.1, 4.5, 3.6, 5.1)
# Fit a linear model
mod <- lm(y ~ x)
# Extract the relevant information
stat_extract(mod_fit = mod)
Run the code above in your browser using DataLab