rss_map_func: Finding minimum RSS

Description Usage Arguments Details Value Author(s)

View source: R/iForm.R

Description

Helper function to take in the candidate set and solution set along with the observations and previous data to calculate the residual sum of sqaures for each of the candidate predictors given what has already been selected.

Usage

1

Arguments

C

vector of candidate predictors to consider in this step of the procedure

S

vector of solution predictor selected from previous steps of the procedure

y

vector of observed responses

data

data.frame of your data with the response and all p predictors

Details

Mapping function to calculcate the residual sum of squares for each of the candidate predictors

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.