Description Usage Arguments Details Value Note Author(s) References See Also Examples

This function can generate a Box-Behnken design in 3 to 7 factors, and optionally will block it orthogonally if there are 4 or 5 factors. It can also randomize the design.

1 |

`k` |
A formula, or an integer giving the number of variables. If the formula has a left-hand side, the variables named there are appended to the design and initialized to |

`n0` |
Number of center points in each block. |

`block` |
Logical value specifying whether or not to block the design; or a character string (taken as |

`randomize` |
Logical value determining whether or not to randomize the design. If |

`coding` |
Optional list of formulas. If this is provided, it overrides the default coding formulas. |

Box-Behnken designs (BBDs) are useful designs for fitting second-order response-surface models. They use only three levels of each factor (compared with 5 for central-composite designs) and sometimes fewer runs are required than a CCD. This function uses an internal table of BBDs; it only works for 3 to 7 factors.

If `k`

is specified as a formula, the names in the formula determine the names of the factors in the generated design. Otherwise, the names will be `x1, x2, ...`

. If `coding`

is not specified, default codings are created in the form x ~ x.as.is.

A `coded.data`

object with the generated design and the additional valiables `run.order`

and `std.order`

. The blocking variable, if present, will be a `factor`

; all other variables will be numeric.

To avoid aliasing the pure-quadratic terms, you must use a positive value of `n0`

.

The non-exported function `rsm:::.bbd.1.41`

is provided in case it is needed by other packages for compatibility with old versions of rsm (version 1.41 or earlier). Given the same seed, it will also reproduce the randomization as a previously generated design from an old version.

Russell V. Lenth

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.

1 2 3 4 5 6 7 |

rvlenth/rsm documentation built on Sept. 2, 2018, 10:06 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.