Helper function to get the names of all columns in a data frame that are protected columns.
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.