Returns a model formula for a quadratic
response surface in the rsm.factors of the rsm object. This function is
used to generate the default formula in a typical call to rsm.lm.
USAGE:
formula.rsm.design(object, response)
REQUIRED ARGUMENTS:
object:
an object of class "rsm.design" typically created using either
as.rsm.design or rsm.design.
OPTIONAL ARGUMENTS:
response:
name of the response variable. The default is to use the first
non rsm.factor in the rsm.design object. A response variable can be
supplied which is not part of the rsm.design object (e.g., a
response on another scale). This is not a character string.
VALUE:
an object of class "formula" that typically will specify a
quadratic response surface model for the rsm.design object.
DETAILS:
Experimental factors in an rsm design have class "rsm.factor". The
formula returned has all linear quadratic and interaction terms for
these factors, i.e., for the factor design