AllComp | R Documentation |
This function creates all comparisons that do not include the baseline level from a factor object with 3 or more levels or from a character vector containing names of variables for which contrasts are desired.
AllComp(vars)
vars |
A factor object with three or more levels or a character vector with names of model variables |
This is a convenience function to avoid having to specify each comparison separately. It calls
inla.make.lincomb
. Please first use BaselineDef
to define the baseline level.
Comparisons with the baseline are default present in the output and hence do not need to be included.
A list object of the required format for the lincomb
option in FitAllShrink
, FitInlaAll
and
inla
,
Mark A. van de Wiel
inla.make.lincomb
, BaselineDef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.