Learn R Programming

BOSO (version 1.0.4)

predict.BOSO: Predict function for BOSO object.

Description

This is an equivalent function to the one offered by coef.glmnet for extraction of coefficients.

Usage

# S3 method for BOSO
predict(object, newx, ...)

Value

A `matrix` object with the corresponding beta values estimated.

Arguments

object

Fitted 'BOSO' or 'BOSO.single' object

newx

Matrix with new data for prediction with BOSO

...

extra arguments for future updates