View source: R/texpoDesignCheck.R
texpoDesignCheck | R Documentation |
TExPosition's DESIGN matrix check function. Calls into ExPosition's
designCheck
.
texpoDesignCheck(
DATA = NULL,
DESIGN = NULL,
make_design_nominal = TRUE,
force_bary = FALSE
)
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, |
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).
DESIGN |
dummy-coded design matrix |
Derek Beaton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.