Learn R Programming

qwraps2 (version 0.6.1)

extract_fstat: 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 lm extract_fpvalue(x)

Value

a character vector of the formatted numbers

formatted p-value from the F-test

Arguments

x

a lm object

See Also

Examples

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

Run the code above in your browser using DataLab