topten: Building a Model with Top ten Features

Description Usage Arguments Details Value Author(s) See Also

Description

This function develops a prediction algorithm based on the top 10 features in 'x' that are most predictive of 'y'

Usage

1
topten(x, y)

Arguments

x

a n X p matric of n observations and p predictors

y

a vector of length n representing the response

Details

This function runs a univariate regression

Value

a vector of coefficients from the final fitted moel with top 10 features

Author(s)

Daniel Emaasit

See Also

lm


Emaasit/DataMatching documentation built on May 6, 2019, 3:46 p.m.