createModel | R Documentation |
This function uses a design of experiments, a response for the experiments within the design and the used parameters to create a response surface model
createModel(design, params, resp)
design |
A design of experiments (Box-Behnken-Design or Central-Composite-Design) |
params |
The parameters which were used. |
resp |
The responses achivied for the various experiments. |
This function uses a design of experiments, a response for the experiments within the design and the used parameters to create a response surface model
A response surface model.
getBbdParameter
getCcdParameter
typeCastParams
Gunnar Libiseller
Lenth, R. V. (2009). Response-Surface Methods in R , Using rsm. Journal of Statistical Software, 32(7), 1-17. Retrieved from http://www.jstatsoft.org/v32/i07
params <- getDefaultXcmsSetStartingParams() type_params <- typeCastParams(params) design <- getBbdParameter(type_params$to_optimize) resp <- runif(nrow(design),1,3) model <- createModel(design, type_params$to_optimize, resp) dev.new() par(mfrow=c(3,2)) contour(model, ~ x1*x2*x3*x4, image=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.