View source: R/extractPvalues.R
extractPvalues | R Documentation |
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).
extractPvalues(model_fit, glmfamily = "gaussian")
model_fit |
The model object from which to extract. |
Returns a vector of p-values. If model_fit is not a supported model type, returns NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.