rsm-package: Response-surface analysis
Description
The rsm
package provides functions useful for designing and analyzing
experiments that are done sequentially in hopes of optimizing a response surface.
The function ccd
can generate (and randomize) a central-composite
design; it allows the user to specify an aliasing or fractional blocking structure, and
does a sanity check to make sure it is suitable for estimating a second-order model.
The function bbd
generates and randomizes a Box-Behnken design.
The function ccd.pick
is useful for identifying good parameter choices
in central-composite designs.
The function rsm
is an enhancement of lm
that provides
for additional analyses peculiar to response surfaces. It requires a model formula
that contains a call to FO
or SO
to specify a first- or
second-order model. Once the model is fitted, the steepest
function may be used to obtain the direction of steepest ascent (or descent).
canonical.path
is an alternative to steepest
for second-order
response surfaces.
In RSM methods, appropriate coding of data is
important not only for numerical stability, but for proper scaling
of results; the function coded.data
and its relatives facilitate
this coding requirement.
Finally, a few more functions are provided that may be useful beyond response-surface applications.
contour.lm
, persp.lm
, and image.lm
aids in visualizing a response surface,
or of any other lm
object where a surface is fitted. model.data
recovers the data used in a lm
call, but unlike model.frame
, no
polynomials, factors, etc. are expanded.
For more information and examples, use vignette("rsm")
.
Additionally, vignette("rsm-plots")
provides some illustrations
of the graphics functions.References
Box, GEP, Hunter, JS, and Hunter, WG (2005),
Statistics for Experimenters (2nd ed.), Wiley-Interscience.
Lenth RV (2009). ``Response-Surface Methods in R, Using rsm'',
Journal of Statistical Software, 32(7), 1--17.
http://www.jstatsoft.org/v32/i07/.
Myers, RH, Montgomery, DC, and Anderson-Cook, CM (2009),
Response Surface Methodology (3rd ed.), Wiley.