a data.frame, or something that can be converted to a data.frame
by as.data.frame.
OPTIONAL ARGUMENTS:
rsm.factors:
a subscripting expression for the data.frame x that designates the
vbariables that are to be converted to rsm.factors. Other variables
are returned unchanged.
logx:
single logical value or vector of logical values for whether each
rsm.factor is evenly spaced on the log scale.
VALUE:
an rsm.design object.
DETAILS:
The functions rsm.lm and plot.rsm.design rely on the data having
attributes of the class rsm.design. When the experiment is read from
an external file, via
read.table for instance, a user can use as.rsm.design to interface easily
to the response surface fitting functions of the S+DOX module.
If you wish to convert a fac.design object to an rsm.design, see
the function convert.to.rsm.