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 the features in 'x' that are most predictive of 'y

Usage

1
topten(x, y)

Arguments

x

a n x p matrix of n observations and p predictors

y

a vector of length n representing the response

Details

This function runs a univariate regression model of y on each predictor in x and calculates ...

Value

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

Author(s)

Piegiorgio Palla

See Also

lm


pjpalla/topten documentation built on May 25, 2019, 8:19 a.m.