steepAscent {r6qualitytools} | R Documentation |
steepAscent: Steepest Ascent
Description
steepAscent
is a method to calculate the steepest ascent for a facDesign.c
object.
Usage
steepAscent(factors, response, size = 0.2, steps = 5, data)
Arguments
factors |
List containing vector of factor names (coded) to be included in calculation, first factor is the reference factor. |
response |
A character of response given in data. |
size |
Numeric integer value giving the step size in coded units for the first factor given in factors.
By default size is set to |
steps |
Numeric integer value giving the number of steps. By default step is set to '5'. |
data |
An object of class |
Value
steepAscent
returns an object of class steepAscent.c
.
See Also
Examples
# Example 1
fdo = facDesign(k = 2, centerCube = 5)
fdo$lows(c(170, 150))
fdo$highs(c(230, 250))
fdo$names(c("temperature", "time"))
fdo$unit(c("C", "minutes"))
yield = c(32.79, 24.07, 48.94, 52.49, 38.89, 48.29, 29.68, 46.5, 44.15)
fdo$.response(yield)
fdo$summary()
sao = steepAscent(factors = c("B", "A"), response = "yield", size = 1,
data = fdo)
[Package r6qualitytools version 1.0.1 Index]