Learn R Programming

SubgrpID (version 0.12)

pred.seqlr: pred.seqlr

Description

Assign positive and negative groups based on predict.rule, the output of seqlr.batting.

Usage

pred.seqlr(x, predict.rule)

Value

a logical vector indicating the prediction for each row of data.

Arguments

x

input predictors matrix

predict.rule

Prediction rule returned by seqlr.batting.

Details

Prediction function for Sequential BATTing