score: Compute the CRPS & logs score of your forecast

View source: R/scoring.R

scoreR Documentation

Compute the CRPS & logs score of your forecast

Description

Compute the CRPS & logs score of your forecast

Usage

score(
  forecast,
  target,
  allow_difftime = getOption("neon4cast.allow_difftime", TRUE),
  ...
)

Arguments

forecast

forecast data frame or file

target

target path or URL (csv file)

allow_difftime

Allow horizon to be expressed in difftime? Default TRUE. Otherwise will be converted into a numeric expressing difftime in seconds. Note that using difftime is not always compatible with other formats. Behavior can also be set globally using the option neon4cast.allow_difftime

...

additional parameters (Not used)

Details

Use ⁠[standardize_forecast]⁠ manually if necessary first.


eco4cast/score4cast documentation built on Nov. 21, 2023, 12:25 p.m.