Learn R Programming

caretEnsemble (version 4.0.1)

aggregate_mean_or_first: Aggregate mean or first

Description

For numeric data take the mean. For character data take the first value.

Usage

aggregate_mean_or_first(x)

Value

a data.table::data.table with predictions

Arguments

x

a train object