is_estimable: Estimability of Contrasts

Description Usage Arguments Value Author(s) See Also Examples

View source: R/estimability.R

Description

Computes the estimability of a vector or matrix of contrasts (i.e. linear functions of the coefficients) from the nullspace of a design matrix or potentially directly from the design matrix.

Usage

1
2
3
4
5
6
is_estimable(
  contrast,
  nullspace = NULL,
  X = NULL,
  tol = sqrt(.Machine$double.eps)
)

Arguments

contrast

a numeric matrix where each row is a contrast vector for which estimability is computed. The matrix should have as many columns as there are columns in the design matrix (which equals the number of coefficients). If contrast is a vector it is coerced to a matrix.

nullspace

the nullspace of the design matrix.

X

design matrix.

tol

tolerance for determining if a contrast is orthogonal to the

Value

a logical vector of length nrow(contrast) determining if each contrast is estimable

Author(s)

Rune Haubo B. Christensen

See Also

nullspace

Examples

1
# FIXME: We need some examples here

lmerTest documentation built on Oct. 23, 2020, 6:16 p.m.