Description Usage Arguments Details Value
View source: R/setup_experiment.R
Generate initial simplex
1 | generate_initial_simplex(method = "manual", data = NULL)
|
method |
Single character value determining the method of initial simplex calculation |
data |
Data Frame with relevant information, see details |
The parameter 'method' can take three values, "manual", "corner" or "tilted". Each coresponds to a different method for determining the initial simplex.
*manual* When the initial simplex is manually determined, the parameter 'data' must contain a data frame with one column per treatment (sharing the same name as the treatment) and the k+1 initial vertices.
*corner* and *tilted* These two methods for automatically generating a starting simplex require that the parameter 'data' contain a 3 column data frame with 1 row per treatment. The first column contains treatment names, the second contains the starting coordinate for the treatment and the third contains the step size for the treatment.
The initial simplex has as the first vertex the combination of all starting coordinates. Each sequential vertex is produced by adding some amount of the step size to one or more of the other treatments.
invisible
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.