texpoDesignCheck {TExPosition}R Documentation

texpoDesignCheck

Description

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

Usage

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


[Package TExPosition version 2.6.10.1 Index]