Skip to contents

augment_prediction_data() will relabel and remove extraneous columns from out-of-sample prediction data.

Usage

augment_prediction_data(.data, checks, dataset)

Arguments

.data

A data.frame of out of-sample-predictions analyst submission data

checks

A data.frame of pointblank interrogation output for .data

dataset

A character string equal to either "blue tit" or "eucalyptus"

Value

A dataframe. Individual analyst submission containing augmented out-of-sample prediction data ready for meta-analysis.

Details

Where there are missing variables in .data or checks is missing, NA will be returned for the augmented prediction data instead.

Examples

# for testing and dev purposes:
# safe_augment <- purrr:::safely(augment_prediction_data)