firstm | R Documentation |
This function finds the first term to enter a hierarchical forward stepwise regression. If the term is an interaction or quadratic term, the parent main effects are also included. This function is called by ihstep.R
firstm(y,des)
y |
input - this is a data frame containing a single numeric column of response data. |
des |
input - this is a data frame containing the numeric columns of the candidate independent variables. The column names of des are of length 1. The m three-level factors always preceed the c two-level factors in the design. |
returned vector of terms to be entered in the model at the first step.
John Lawson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.