StripPredictions: A function for extracting the prediction values from the...

Description Usage Arguments Value Examples

View source: R/Ensembling.R

Description

Each model returns the prediction as a DataFrame and we need it as a list or vector.

Usage

1

Arguments

pred

A list containing a DataFrame of predictions.

Value

A vector containing the predictions.

Examples

1
2
# This function is used by predict.Ensemble. It's usage is as follows:
# preds[[i]] <-  StripPredictions(predict(model, newdata = newdata, type="prob"))

orionw/BestModel documentation built on Aug. 17, 2019, 7:29 p.m.