extractPvalues: Extract p-values from a model object

View source: R/extractPvalues.R

extractPvaluesR Documentation

Extract p-values from a model object

Description

Extract p-values from a model object. Currently works with lm, glm, lme4, glmer, and survreg model objects. If possible, uses the p-values reported in summary(model_fit).

Usage

extractPvalues(model_fit, glmfamily = "gaussian")

Arguments

model_fit

The model object from which to extract.

Value

Returns a vector of p-values. If model_fit is not a supported model type, returns NULL.


skpr documentation built on May 29, 2024, 5:06 a.m.

Related to extractPvalues in skpr...