topten: Build linear prediction model from top ten predictive...

Description Usage Arguments Value Examples

Description

For matrix x of at least ten columns, and vector y of outcomes, builds a linear prediction model using the top ten predictive features in x chosen by p value.

Usage

1
topten(x,y)

Arguments

x

a matrix of at least ten columns of data

y

a vector of same length as x containing the outcomes for the data in x

Value

a numeric vector of coefficients generated by the linear model fit to x.

Examples

1
coeffs <- topten(x,y)

escuccim/topten documentation built on May 16, 2019, 7:10 p.m.