texpoDesignCheck: texpoDesignCheck

Description Usage Arguments Details Value Author(s)

Description

TExPosition's DESIGN matrix check function. Calls into ExPosition's designCheck.

Usage

1
texpoDesignCheck(DATA = NULL, DESIGN = NULL, make_design_nominal = TRUE, force_bary=FALSE)

Arguments

DATA

original data that should be matched to a design matrix

DESIGN

a column vector with levels for observations or a dummy-coded matrix

make_design_nominal

a boolean. Will make DESIGN nominal if TRUE (default).

force_bary

a boolean. If TRUE, it forces the check for barycentric methods (tepDICA, tepBADA). If FALSE, designCheck is performed.

Details

For BADA & DICA, execution stops if:
1. DESIGN has more columns (groups) than observations, 2. DESIGN has only 1 column (group), or 3. DESIGN has at least 1 occurence where an observation is the only observation in a group (i.e., colSums(DESIGN)==1 at least once).

Value

DESIGN

dummy-coded design matrix

Author(s)

Derek Beaton


TExPosition documentation built on May 2, 2019, 7:27 a.m.