Learn R Programming

bnnSurvival (version 0.1.5)

predict,bnnSurvivalEnsemble-method: Predict survival probabilities with bagged k-nearest neighbors survival prediction.

Description

Predict survival probabilities with bagged k-nearest neighbors survival prediction.

Usage

# S4 method for bnnSurvivalEnsemble
predict(object, test_data)

Arguments

object
Object of class bnnSurvivalEnsemble, created with bnnSurvival().
test_data
Data set containing data to predict survival.