Description Usage Arguments Details Value Author(s) Examples
One formula for cells to be perturbed and one formula for cells to be exact
1 2 3 4 5 6 7 8 |
data |
Input data as a data frame (inner cells) |
formula |
Model formula defining cells to be perturbed |
formulaExact |
Model formula defining cells to be exact |
intercept |
Whether to include intercept |
interceptExact |
Whether to include intercept |
coverMargins |
Whether to extract only the covering terms |
The function make use of CoverMargins
. Thus, hierarchical relationships seen in the data is considered.
Each output element can be input to Terms2formula
.
List of two sets of model terms
Øyvind Langsrud
1 2 3 4 5 6 7 | z3 <- EasyData("z3")
CoverMarginsExact(z3, ~region + kostragr * hovedint)
CoverMarginsExact(z3, ~region + kostragr * hovedint * mnd, ~kostragr * hovedint)
CoverMarginsExact(z3, ~region + kostragr * hovedint * mnd, ~kostragr * hovedint + mnd)
CoverMarginsExact(z3, ~region, ~kostragr * hovedint, TRUE, FALSE)
CoverMarginsExact(z3, ~region * mnd, ~kostragr * hovedint, coverMargins = FALSE)
CoverMarginsExact(z3, ~region, interceptExact = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.