This function performs a single step of a forward stepwise regression by entering an additional 2nd order term to a model already created by FitDefSc.R or fhstepDS.R This function is called by FitDefSc.R
fhstepDS(y,des,m,c,prvm)
returned vector of terms entered in the model at this step.
input - this is a data frame containing a single numeric column of response data.
input - this is a data frame containing the numeric columns of the candidate independent variables. The column names of des are of length 1 i.e., letters of the alphabet. The m three-level factors always preceed the c two-level factors in the design.
input - this is an integer equal to the number of three-level factors in the design
input - this is an integer equal to the number of two-level factors in the design. Note m+c must be equal to the number of columns of des.
input - this is a vector of text names of the terms in the model. This is created as the value resulting from running ihstep or fhstep.
John Lawson