powered by
This function forms the candidate set of treatments from the factors' levels, adds labels, with optional spherical transformation of the coordinates.
candidate_trt_set(Levels, K, Hypercube = TRUE)
Matrix of candidate set of treatments, with treatment labels contained in the first column.
Levels of each factor.
Number of factors.
Indicates if the experimental region is a hypercube ('TRUE') or spherical ('FALSE').
# Candidate treatment set for five 3-level factors K<-5; Levels <- rep(list(1:3),K); candidate_trt_set(Levels, K)
Run the code above in your browser using DataLab