extract: Extract Summary stats from regression objects

extract_fstatR Documentation

Extract Summary stats from regression objects

Description

A collection of functions for extracting summary statistics and reporting regression results from lm, glm and other regression objects.

Usage

extract_fstat(x)

extract_fpvalue(x)

## S3 method for class 'lm'
extract_fpvalue(x)

Arguments

x

a lm object

Value

a character vector of the formatted numbers

formatted p-value from the F-test

See Also

lm

Examples

fit <- lm(mpg ~ wt + hp + drat, data = mtcars)
summary(fit)
extract_fstat(fit)
extract_fpvalue(fit)


qwraps2 documentation built on Nov. 10, 2023, 1:06 a.m.