Skip to contents

Helper function to get the names of all columns in a data frame that are protected columns.

Usage

get_protected_columns(data = NULL)

Arguments

data

A data.frame (or similar) with predicted and observed values. See the details section of as_forecast() for additional information on required input formats.

Value

A character vector with the names of protected columns in the data. If data is NULL (default) then it returns a list of all columns that are protected in scoringutils.