aggregate_mean_or_first: Aggregate mean or first

View source: R/caretPredict.R

aggregate_mean_or_firstR Documentation

Aggregate mean or first

Description

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

Usage

aggregate_mean_or_first(x)

Arguments

x

a train object

Value

a data.table::data.table with predictions


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.