weak_order2: Creating interactions based off of weak heredity principle

Description Usage Arguments Details Value Author(s)

View source: R/iForm.R

Description

Helper function to give all possible order-2 interactions following the weak heredity principle.

Usage

1

Arguments

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

Details

Finds all p choose 3 combinations between the predicotrs in the solution set and the predictors in the candidate set.

Value

A vector of the RSS values for each candidate predictor

Author(s)

Kirk Gosik


kdgosik/iForm documentation built on May 23, 2019, 4:05 a.m.