powered by
Compute RPS for a single forecast
compute_RPS(forecast, outcome)
Vector of length N (forecast).
Index of the true outcome (between 1 and N).
RPS (numeric scalar)
# NOT RUN { compute_RPS(c(.2, .5, .3), 2) # }
Run the code above in your browser using DataLab