morie_lm
R/lm_model.R
coef.morie_lm.Rd
Extract coefficients from method for morie_lm objects
# S3 method for class 'morie_lm' coef(object, ...)
A morie_lm.
Unused.
Named coefficient vector.
set.seed(1) df <- data.frame(y = rnorm(30), x = rnorm(30)) fit <- morie_lm(y ~ x, data = df) coef(fit) #> (Intercept) x #> 0.07494957 0.05655150