predict10: Prediction with Top Ten features

Description Usage Arguments Value

Description

This function takes a set of coefficients produced by the topten function and makes a prediction for each of the values provided in the input 'X' matrix.

Usage

1
predict10(X, b)

Arguments

X

a n x 10 matrix containing n new observations

b

a vector of coefficients obtained from the topten function

Value

a numeric vector containing the predicted values


jmcimula/lmR documentation built on May 19, 2019, 1:52 p.m.