Description Usage Arguments Examples
View source: R/model_comparison.R
Takes a model and a vector of factors to step up with. Builds a model with each one added and does model comparison with the simpler model for each, returning p-values and AIC.
1 |
model |
model to step up from |
to_test |
vector of factor names to add (as strings, not objects) |
aic_only |
Boolean, defaults to TRUE. Don't remember what this does. |
dat |
name of the dataframe |
type |
type of model. Options are 'glmBinomial', 'glm', 'lmer', 'gam', 'gamBinomial'. Defaults to 'glm'. |
1 | step_up()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.