Description Usage Arguments Value Author(s)
View source: R/nested_model_formulas.R
Create nested models formulas and corresponding data.frame
1 2 |
formula |
Two-sided formula. Separate formulas (i.e., nested models) will be created for each model term on right side of this formula. For example, for mixed-effects models this should be the response (i.e., dependent) variable plus the fixed-effects. |
data |
|
extra_formula |
Optional one-sided formula that will be added to the resulting formulas. No separate formulas will be built based on this formula. For example, for mixed-effects model this should contain the random-effects. |
type |
Type of sums of squares. Currently only Type III (i.e., |
test_intercept |
Logical. Should test for intercept be included in output? Default is |
na.action |
how |
List with three slots:
formulas
List of named formulas. First entry is the full_model
, each following entry contains the formula for the full model after withholding one model term.
data
data.frame
holding all variables used inthe formulas
reduced_formulas
Same as formulars, but without adding the extra_formula
.
Henrik Singmann with contributions from Ben Bolker and Joshua Wiley.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.