# NOT RUN {
# Create summary table for mtcars regression
fit <- lm(mpg ~ wt + hp + drat, data = mtcars)
tabreg(
betas = fit$coef,
varcov = vcov(fit),
labels = c("Intercept", "Weight", "HP", "Rear axle ratio")
)
# }
Run the code above in your browser using DataLab