predict.wflist: Predict using multiple models

Description Usage Arguments Value

View source: R/predict.R

Description

Makes predictions from multiple workflow objects.

Usage

1
2
## S3 method for class 'wflist'
predict(objects, new_data, mode)

Arguments

objects

A named list of fitted workflow objects created by wf_list().

new_data

A data.frame containing data with which to predict.

mode

Either "regression" or "classification".

Value

A data.frame with one column for each fit's predictions.


szego/cassoulet documentation built on Dec. 31, 2020, 7:40 a.m.