extractRegressionStatistics: Extracts key statistics of regression

Description Usage Arguments Value Examples

View source: R/regression.R

Description

Function extracts various parameter from an lm object, including the (adjuste) R-squared, AIC, BIC and the outcome of the F-test.

Usage

1

Arguments

model

Object of type lm.

Value

Returns data frame with named columns.

Examples

1
2
3
4
5
x <- 1:10
y <- 1 + x + rnorm(10)
m <- lm(y ~ x)

extractRegressionStatistics(m)

sfeuerriegel/ResearchGroupTools documentation built on May 29, 2019, 8:01 p.m.