h_diff | R Documentation |
Contrast Functions and Jacobians
Create Contrast of Pairs
h_diff(x, y)
h_jac_diff(x, y)
h_ratio(x, y)
h_jac_ratio(x, y)
h_odds_ratio(x, y)
h_jac_odds_ratio(x, y)
eff_jacob(f)
pairwise(levels, x = levels)
against_ref(levels, ref = levels[1], x = tail(levels, -1))
custom_contrast(levels, x, y)
x |
( |
y |
( |
f |
( |
levels |
( |
ref |
( |
Vector of contrasts, or matrix of jacobians.
A list of contrast
object with following elements:
Index of the treatment group.
Index of the reference group.
Additional attributes include levels
and max_levels
indicating the
names of the treatment levels and the maximum number of levels.
h_diff(1:3, 4:6)
h_jac_ratio(1:3, 4:6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.