cs <- c(23, 19, 30, 22, 23, 29, 35, 36, 33, 25) ts <- c(430, 430, 333, 410, 390, 377, 325, 310, 328, 375) mod <- lm(ts ~ cs) s <- summary(mod) # save the coefficient matrix to `coefs` # save the coefficient matrix to `coefs` coefs <- s$coefficients test_predefined_objects("s") test_object("coefs")