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


zachmayer/caretEnsemble documentation built on Dec. 19, 2024, 5:17 p.m.