Skip to contents

Renames the prediction columns in the output of convert_predictions

Usage

rename_prediction_cols(.data, key_var, .old_data)

Arguments

.data

A tibble of out of sample predictions on the response variable scale

key_var

A tibble of the key variables used in the conversion

.old_data

A tibble of the original data used in the conversion

Value

A tibble of out of sample predictions on the response variable scale with the correct column names