candidate_set_full {MOODE} | R Documentation |
Forms the full candidate set of treatments for all polynomial terms
Description
This function forms the full extended candidate set with all polynomial terms, with labels, not orthonormalised.
Usage
candidate_set_full(cand.trt, K)
Arguments
cand.trt |
Candidate set of treatments, the first column contains treatment labels. Usually obtained as output from the candidate_trt_set function. |
K |
Number of factors. |
Value
The full extended candidate set: the column of treatment labels, then named columns with polynomial terms up to the 4th order.
For example, "x12" stands for x_1^2
, and "x1x2 stands for x_1x_2
, and "x23x4" for x_2^3x_4
.
Examples
# Full extended candidate set for two 3-level factors
K<-2; Levels <- rep(list(1:3),K);
candidate_set_full(candidate_trt_set(Levels, K), K)
[Package MOODE version 1.0.1 Index]