View source: R/candidate_set_full.R
candidate_set_full | R Documentation |
This function forms the full extended candidate set with all polynomial terms, with labels, not orthonormalised.
candidate_set_full(cand.trt, K)
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. |
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
.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.