Learn R Programming

mmrm (version 0.3.14)

h_get_contrast: Obtain Contrast for Specified Effect

Description

This is support function to obtain contrast matrix for type II/III testing.

Usage

h_get_contrast(
  object,
  effect,
  type = c("II", "III", "2", "3"),
  tol = sqrt(.Machine$double.eps)
)

Value

A matrix of the contrast.

Arguments

object

(mmrm)
the fitted MMRM.

effect

(string) the name of the effect.

type

(string) type of test, "II", "III", '2', or '3'.

tol

(numeric) threshold blow which values are treated as 0.