Description Usage Arguments Details Value Author(s)
Helper function to give all possible order-3 interactions following the strong heredity principle.
1 | weak_order3(S, C, data)
|
S |
vector of solution predictor selected from previous steps of the procedure |
C |
vector of candidate predictors to consider in this step of the procedure |
data |
data.frame of your data with the response and all p predictors |
Finds all p choose 3 combinations between the predicotrs in the solution set and the predictors in the candidate set.
A vector of the RSS values for each candidate predictor
Kirk Gosik
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.