This function combines outcome data (observations) with the prediction values from each base learner.
Usage
attach_pred(
data,
pred,
target_cols = c("site_id", "time", "Event.Type", "lon", "lat"),
yvar = "Arithmetic.Mean"
)
This function combines outcome data (observations) with the prediction values from each base learner.
attach_pred(
data,
pred,
target_cols = c("site_id", "time", "Event.Type", "lon", "lat"),
yvar = "Arithmetic.Mean"
)