{
  "_id": "6accb344a14063b82c3a8127",
  "Package": "afc",
  "Version": "1.5.0",
  "Date": "2026-09-08",
  "Title": "Generalized Discrimination Score",
  "Authors@R": "c(person(\"Andreas\", \"Weigel\", email=\"\", role = \"aut\"),\nperson(\"MeteoSwiss\", \"\", role=c('cph')),\nperson(\"Jonas\", \"Bhend\", email=\"jonas.bhend@meteoswiss.ch\", role = c('cre', 'aut')))",
  "Description": "This is an implementation of the Generalized\nDiscrimination Score (also known as Two Alternatives Forced\nChoice Score, 2AFC) for various representations of forecasts\nand verifying observations. The Generalized Discrimination\nScore is a generic forecast verification framework which can be\napplied to any of the following verification contexts:\ndichotomous, polychotomous (ordinal and nominal), continuous,\nprobabilistic, and ensemble. A comprehensive description of the\nGeneralized Discrimination Score, including all equations used\nin this package, is provided by Mason and Weigel (2009).",
  "License": "GPL (>= 3)",
  "RoxygenNote": "7.2.3",
  "URL": "https://meteoswiss.github.io/afc/",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "BugReports": "https://github.com/MeteoSwiss/afc/issues",
  "Repository": "https://meteoswiss.r-universe.dev",
  "Date/Publication": "2026-09-11 06:17:30 UTC",
  "RemoteUrl": "https://github.com/meteoswiss/afc",
  "RemoteRef": "HEAD",
  "RemoteSha": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-12 10:11:03 UTC",
    "User": "root"
  },
  "Author": "Andreas Weigel [aut],\nMeteoSwiss [cph],\nJonas Bhend [cre, aut]",
  "Maintainer": "Jonas Bhend <jonas.bhend@meteoswiss.ch>",
  "_user": "meteoswiss",
  "_type": "src",
  "_file": "afc_1.5.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0a3b911c5b015a6c0bd33cedc607424af73fe2514f4403cf62862857620901a1",
  "_filesize": 181641,
  "_sha256": "0a3b911c5b015a6c0bd33cedc607424af73fe2514f4403cf62862857620901a1",
  "_expires": "2027-01-20T10:15:30.000Z",
  "_created": "2026-10-12T10:11:03.000Z",
  "_published": "2026-10-12T10:15:32.318Z",
  "_buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114762535928,
      "time": 98,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11740052906"
    },
    {
      "job": 114762535924,
      "time": 96,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740287650"
    },
    {
      "job": 114762535860,
      "time": 185,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11740217941"
    },
    {
      "job": 114762535802,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740093061"
    },
    {
      "job": 114761559831,
      "time": 165,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740252365"
    },
    {
      "job": 114762535843,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11739659197"
    },
    {
      "job": 114762535965,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11739639154"
    },
    {
      "job": 114762535930,
      "time": 64,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11739509236"
    },
    {
      "job": 114762536055,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11740432013"
    }
  ],
  "_upstream": "https://github.com/meteoswiss/afc",
  "_commit": {
    "id": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
    "author": "Jonas Bhend <jonasbhend@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #6 from MeteoSwiss/rc-1.5.0\n\nRelease candidate for 1.5.0",
    "time": 1789107450
  },
  "_maintainer": {
    "name": "Jonas Bhend",
    "email": "jonas.bhend@meteoswiss.ch",
    "login": "jonasbhend",
    "description": "",
    "uuid": 3620792
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "meteoswiss",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jonasbhend",
      "count": 27,
      "uuid": 3620792
    },
    {
      "user": "rposselt",
      "count": 6,
      "uuid": 9608894
    },
    {
      "user": "femaurer",
      "count": 1,
      "uuid": 20240153
    }
  ],
  "_userbio": {
    "uuid": 10277948,
    "type": "organization",
    "name": "MeteoSwiss",
    "followers": 261,
    "description": "Federal Office of Meteorology and Climatology MeteoSwiss"
  },
  "_downloads": {
    "count": 526,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/afc"
  },
  "_devurl": "https://github.com/meteoswiss/afc",
  "_pkgdown": "https://meteoswiss.github.io/afc/",
  "_searchresults": 18,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/afc.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/meteoswiss/afc",
  "_realowner": "meteoswiss",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2009-02-18"
    },
    {
      "version": "1.03",
      "date": "2012-10-29"
    },
    {
      "version": "1.4.0",
      "date": "2017-05-18"
    },
    {
      "version": "1.5.0",
      "date": "2026-09-11"
    }
  ],
  "_exports": [
    "afc",
    "afc.cc",
    "afc.ce",
    "afc.dc",
    "afc.dd",
    "afc.de",
    "afc.dm",
    "afc.dp",
    "afc.mc",
    "afc.me",
    "afc.mm",
    "afc.mp",
    "afc.nn",
    "afc.np",
    "rank.ensembles"
  ],
  "_datasets": [
    {
      "name": "cnrm.nino34.cc",
      "title": "Example Data of Continuous Observations and Continuous Forecasts",
      "object": "cnrm.nino34.cc",
      "file": "cnrm.nino34.cc.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.ce",
      "title": "Example Data of Continuous Observations and Ensemble Forecasts",
      "object": "cnrm.nino34.ce",
      "file": "cnrm.nino34.ce.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": false,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.dc",
      "title": "Example Data of Dichotomous Observations and Continuous Forecasts",
      "object": "cnrm.nino34.dc",
      "file": "cnrm.nino34.dc.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.dd",
      "title": "Example Data of Dichotomous Observations and Dichotomous Forecasts",
      "object": "cnrm.nino34.dd",
      "file": "cnrm.nino34.dd.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.de",
      "title": "Example Data of Dichotomous Observations and Ensemble Forecasts",
      "object": "cnrm.nino34.de",
      "file": "cnrm.nino34.de.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": false,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.dm",
      "title": "Example Data of Dichotomous Observations and Polychotomous Forecasts",
      "object": "cnrm.nino34.dm",
      "file": "cnrm.nino34.dm.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.dp",
      "title": "Example Data of Dichotomous Observations and Probabilistic Forecasts",
      "object": "cnrm.nino34.dp",
      "file": "cnrm.nino34.dp.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.mc",
      "title": "Example Data of Polychotomous Observations and Continuous Forecasts",
      "object": "cnrm.nino34.mc",
      "file": "cnrm.nino34.mc.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.me",
      "title": "Example Data of Polychotomous Observations and Ensembles Forecasts",
      "object": "cnrm.nino34.me",
      "file": "cnrm.nino34.me.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": false,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.mm",
      "title": "Example Data of Polychotomous Observations and Polychotomous Forecasts",
      "object": "cnrm.nino34.mm",
      "file": "cnrm.nino34.mm.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    },
    {
      "name": "cnrm.nino34.mp",
      "title": "Example Data of Polychotomous Observations and Probabilistic Forecasts",
      "object": "cnrm.nino34.mp",
      "file": "cnrm.nino34.mp.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "years",
        "obsv",
        "fcst"
      ],
      "rows": 40,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "afc-package",
      "title": "Generalized Discrimination Score 2AFC",
      "topics": [
        "afc-package"
      ]
    },
    {
      "page": "afc",
      "title": "Calculate Generalized Discrimination Score 2AFC",
      "topics": [
        "afc"
      ]
    },
    {
      "page": "afc.cc",
      "title": "2AFC For Continuous Observations And Continuous Forecasts",
      "topics": [
        "afc.cc"
      ]
    },
    {
      "page": "afc.ce",
      "title": "2AFC For Continuous Observations And Ensemble Forecasts",
      "topics": [
        "afc.ce"
      ]
    },
    {
      "page": "afc.dc",
      "title": "2AFC For Dichotomous Observations And Continuous Forecasts",
      "topics": [
        "afc.dc"
      ]
    },
    {
      "page": "afc.dd",
      "title": "2AFC For Dichotomous Observations And Dichotomous Forecasts",
      "topics": [
        "afc.dd"
      ]
    },
    {
      "page": "afc.de",
      "title": "2AFC For Dichotomous Observations And Ensemble Forecasts",
      "topics": [
        "afc.de"
      ]
    },
    {
      "page": "afc.dm",
      "title": "2AFC For Dichotomous Observations And Ordinal Polychotomous Forecasts",
      "topics": [
        "afc.dm"
      ]
    },
    {
      "page": "afc.dp",
      "title": "2AFC For Dichotomous Observations And Probabilistic Forecasts",
      "topics": [
        "afc.dp"
      ]
    },
    {
      "page": "afc.mc",
      "title": "2AFC For Ordinal Polychotomous Observations And Continuous Forecasts",
      "topics": [
        "afc.mc"
      ]
    },
    {
      "page": "afc.me",
      "title": "2AFC For Ordinal Polychotomous Observations And Ensemble Forecasts",
      "topics": [
        "afc.me"
      ]
    },
    {
      "page": "afc.mm",
      "title": "2AFC For Ordinal Polychotomous Observations And Ordinal Polychotomous Forecasts",
      "topics": [
        "afc.mm"
      ]
    },
    {
      "page": "afc.mp",
      "title": "2AFC For Ordinal Polychotomous Observations And Probabilistic Forecasts",
      "topics": [
        "afc.mp"
      ]
    },
    {
      "page": "afc.nn",
      "title": "2AFC For Nominal Polychotomous Observations And Nominal Polychotomous Forecasts",
      "topics": [
        "afc.nn"
      ]
    },
    {
      "page": "afc.np",
      "title": "2AFC For Nominal Polychotomous Observations And Probabilistic Forecasts",
      "topics": [
        "afc.np"
      ]
    },
    {
      "page": "cnrm.nino34.cc",
      "title": "Example Data of Continuous Observations and Continuous Forecasts",
      "topics": [
        "cnrm.nino34.cc"
      ]
    },
    {
      "page": "cnrm.nino34.ce",
      "title": "Example Data of Continuous Observations and Ensemble Forecasts",
      "topics": [
        "cnrm.nino34.ce"
      ]
    },
    {
      "page": "cnrm.nino34.dc",
      "title": "Example Data of Dichotomous Observations and Continuous Forecasts",
      "topics": [
        "cnrm.nino34.dc"
      ]
    },
    {
      "page": "cnrm.nino34.dd",
      "title": "Example Data of Dichotomous Observations and Dichotomous Forecasts",
      "topics": [
        "cnrm.nino34.dd"
      ]
    },
    {
      "page": "cnrm.nino34.de",
      "title": "Example Data of Dichotomous Observations and Ensemble Forecasts",
      "topics": [
        "cnrm.nino34.de"
      ]
    },
    {
      "page": "cnrm.nino34.dm",
      "title": "Example Data of Dichotomous Observations and Polychotomous Forecasts",
      "topics": [
        "cnrm.nino34.dm"
      ]
    },
    {
      "page": "cnrm.nino34.dp",
      "title": "Example Data of Dichotomous Observations and Probabilistic Forecasts",
      "topics": [
        "cnrm.nino34.dp"
      ]
    },
    {
      "page": "cnrm.nino34.mc",
      "title": "Example Data of Polychotomous Observations and Continuous Forecasts",
      "topics": [
        "cnrm.nino34.mc"
      ]
    },
    {
      "page": "cnrm.nino34.me",
      "title": "Example Data of Polychotomous Observations and Ensembles Forecasts",
      "topics": [
        "cnrm.nino34.me"
      ]
    },
    {
      "page": "cnrm.nino34.mm",
      "title": "Example Data of Polychotomous Observations and Polychotomous Forecasts",
      "topics": [
        "cnrm.nino34.mm"
      ]
    },
    {
      "page": "cnrm.nino34.mp",
      "title": "Example Data of Polychotomous Observations and Probabilistic Forecasts",
      "topics": [
        "cnrm.nino34.mp"
      ]
    },
    {
      "page": "rank.ensembles",
      "title": "Rank Ensembles",
      "topics": [
        "rank.ensembles"
      ]
    }
  ],
  "_readme": "https://github.com/meteoswiss/afc/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.255272505103306,
  "_indexed": true,
  "_nocasepkg": "afc",
  "_universes": [
    "meteoswiss",
    "jonasbhend"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:44.000Z",
      "distro": "resolute",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/33950e90e13e6800f5514b3b2a9260a611179ffbfa3b59f491c8420f026d372a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:44.000Z",
      "distro": "resolute",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/bae063fd9ab28687cd781ea2ff3edf0fabd5dddcb914be291d0e8083e7430484",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-10-12T10:14:20.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/bbf4f1958725b5d1ed020106418e5714575fdba22e6ab6d067182f3740872fd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-10-12T10:13:49.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/0bafeb44a1dba8b68e7d0b632a7d2aea7210814fdd28e0202c78fb4101af216d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:43.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/5f60a48fdc79569e2103df6027e132d0a5f2e4dc28f0715996b871b6fc2d5c1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:12.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/32e33e1b83195ec76da8cba33e380af76d3b3d86eac580bbc4a60793c4ded634",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:09.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/003aa622ca723da29ede38b1d29826cb438884ff85c95c7aaf183ef59ef06363",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-10-12T10:12:17.000Z",
      "commit": "67169b676eb8763000af5c90ecb7826bf3e18b1f",
      "fileid": "https://r2.ropensci.org/c39d93f318f261714d97373b5465a0f63e6ba2f709e01b852aa0ec8b8610521d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/meteoswiss/actions/runs/38234411465"
    }
  ]
}