This is support function to obtain contrast matrix for type II/III testing.
h_get_contrast(
object,
effect,
type = c("II", "III", "2", "3"),
tol = sqrt(.Machine$double.eps)
)A matrix of the contrast.
(mmrm)
the fitted MMRM.
(string) the name of the effect.
(string) type of test, "II", "III", '2', or '3'.
(numeric) threshold blow which values are treated as 0.