Learn R Programming

MOODE (version 1.1.0)

candidate_trt_set: Forms the labelled candidate set of treatments

Description

This function forms the candidate set of treatments from the factors' levels, adds labels, with optional spherical transformation of the coordinates.

Usage

candidate_trt_set(Levels, K, Hypercube = TRUE)

Value

Matrix of candidate set of treatments, with treatment labels contained in the first column.

Arguments

Levels

Levels of each factor.

K

Number of factors.

Hypercube

Indicates if the experimental region is a hypercube ('TRUE') or spherical ('FALSE').

Examples

Run this code

# 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