powered by
A collection of functions for extracting summary statistics and reporting regression results from lm, glm and other regression objects.
lm
glm
extract_fstat(x)extract_fpvalue(x)# S3 method for lm extract_fpvalue(x)
extract_fpvalue(x)
# S3 method for lm extract_fpvalue(x)
a character vector of the formatted numbers
formatted p-value from the F-test
a lm object
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