{
  "_id": "6a102804acfb0bcc41c90725",
  "Package": "cases",
  "Type": "Package",
  "Title": "Stratified Evaluation of Subgroup Classification Accuracy",
  "Version": "0.2.0",
  "Authors@R": "person(given = \"Max\",\nfamily = \"Westphal\",\nrole = c(\"aut\", \"cre\"),\nemail = \"dev@maxwestphal.io\",\ncomment = c(ORCID = \"0000-0002-8488-758X\"))",
  "Description": "Enables simultaneous statistical inference for the\naccuracy of multiple classifiers in multiple subgroups\n(strata). For instance, allows to perform multiple comparisons\nin diagnostic accuracy studies with co-primary endpoints\nsensitivity and specificity (Westphal M, Zapf A. Statistical\ninference for diagnostic test accuracy studies with multiple\ncomparisons. Statistical Methods in Medical Research.\n2024;0(0). <doi:10.1177/09622802241236933>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr, rmarkdown",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/maxwestphal/cases,\nhttps://maxwestphal.github.io/cases/",
  "BugReports": "https://github.com/maxwestphal/cases/issues",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://maxwestphal.r-universe.dev",
  "Date/Publication": "2025-01-05 22:03:27 UTC",
  "RemoteUrl": "https://github.com/maxwestphal/cases",
  "RemoteRef": "HEAD",
  "RemoteSha": "4eb54811e3cfcab234765e12db49129d762ccf0f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:16:57 UTC",
    "User": "root"
  },
  "Author": "Max Westphal [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8488-758X>)",
  "Maintainer": "Max Westphal <dev@maxwestphal.io>",
  "MD5sum": "4ae4615ba49037bd936975809c82ec16",
  "_user": "maxwestphal",
  "_type": "src",
  "_file": "cases_0.2.0.tar.gz",
  "_fileid": "d7c27f09536c77fc3cd1576f5d6b8f9b0f4aa04a9734d761d53d1adadd4d4a32",
  "_filesize": 565921,
  "_sha256": "d7c27f09536c77fc3cd1576f5d6b8f9b0f4aa04a9734d761d53d1adadd4d4a32",
  "_created": "2026-05-13T08:16:57.000Z",
  "_published": "2026-05-22T09:55:16.793Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356763754,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965020699"
    },
    {
      "job": 77356763953,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965020805"
    },
    {
      "job": 77356763695,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965026338"
    },
    {
      "job": 77356763761,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964997854"
    },
    {
      "job": 77356763124,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964952315"
    },
    {
      "job": 77356763271,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157752306"
    },
    {
      "job": 77356764033,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964997783"
    },
    {
      "job": 77356763961,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964998630"
    },
    {
      "job": 77356764124,
      "time": 155,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965003051"
    }
  ],
  "_buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/maxwestphal/cases",
  "_commit": {
    "id": "4eb54811e3cfcab234765e12db49129d762ccf0f",
    "author": "Max Westphal <50481083+maxwestphal@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #18 from maxwestphal/development\n\ncran comments fix",
    "time": 1736114607
  },
  "_maintainer": {
    "name": "Max Westphal",
    "email": "dev@maxwestphal.io",
    "orcid": "0000-0002-8488-758X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "bindata",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "corrplot",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "extraDistr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "multcomp",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "badger",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "splitstackshape",
      "role": "Suggests"
    }
  ],
  "_owner": "maxwestphal",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "maxwestphal",
      "count": 58,
      "uuid": 50481083
    }
  ],
  "_userbio": {
    "uuid": 50481083,
    "type": "user",
    "name": "Max Westphal",
    "description": "Principal Scientist Data Science & Biostatistics "
  },
  "_downloads": {
    "count": 190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cases"
  },
  "_devurl": "https://github.com/maxwestphal/cases",
  "_pkgdown": "https://maxwestphal.github.io/cases/",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cases.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/maxwestphal/cases",
  "_realowner": "maxwestphal",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-05-18"
    },
    {
      "version": "0.2.0",
      "date": "2025-01-09"
    }
  ],
  "_exports": [
    "%>%",
    "categorize",
    "compare",
    "define_contrast",
    "draw_data",
    "draw_data_lfc",
    "draw_data_prb",
    "draw_data_roc",
    "evaluate",
    "generate_instance_lfc",
    "generate_instance_roc",
    "process_instance",
    "visualize"
  ],
  "_datasets": [
    {
      "name": "data_wdbc",
      "title": "Breast Cancer Wisconsin (Diagnostic) Data Set",
      "object": "data_wdbc",
      "class": [
        "data.frame"
      ],
      "fields": [
        "diagnosis",
        "radius_mean",
        "texture_mean",
        "perimeter_mean",
        "area_mean",
        "smoothness_mean",
        "compactness_mean",
        "concavity_mean",
        "concave_points_mean",
        "symmetry_mean",
        "fractal_dimension_mean",
        "radius_sd",
        "texture_sd",
        "perimeter_sd",
        "area_sd",
        "smoothness_sd",
        "compactness_sd",
        "concavity_sd",
        "concave_points_sd",
        "symmetry_sd",
        "fractal_dimension_sd",
        "radius_peak",
        "texture_peak",
        "perimeter_peak",
        "area_peak",
        "smoothness_peak",
        "compactness_peak",
        "concavity_peak",
        "concave_points_peak",
        "symmetry_peak",
        "fractal_dimension_peak"
      ],
      "rows": 569,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cases",
      "title": "'cases' package",
      "topics": [
        "cases-package",
        "cases"
      ]
    },
    {
      "page": "categorize",
      "title": "Categorize continuous values",
      "topics": [
        "categorize"
      ]
    },
    {
      "page": "compare",
      "title": "Compare predictions and labels",
      "topics": [
        "compare"
      ]
    },
    {
      "page": "cormat_ar1",
      "title": "Create an AR(1) correlation matrix",
      "topics": [
        "cormat_ar1"
      ]
    },
    {
      "page": "cormat_equi",
      "title": "Create an equicorrelation matrix",
      "topics": [
        "cormat_equi"
      ]
    },
    {
      "page": "data_wdbc",
      "title": "Breast Cancer Wisconsin (Diagnostic) Data Set",
      "topics": [
        "data_wdbc"
      ]
    },
    {
      "page": "define_contrast",
      "title": "Define a contrast (matrix) to specify exact hypothesis system",
      "topics": [
        "define_contrast"
      ]
    },
    {
      "page": "draw_data",
      "title": "Generate binary data",
      "topics": [
        "draw_data"
      ]
    },
    {
      "page": "draw_data_lfc",
      "title": "Generate binary data (LFC model)",
      "topics": [
        "draw_data_lfc"
      ]
    },
    {
      "page": "draw_data_prb",
      "title": "Sample binary data (single sample)",
      "topics": [
        "draw_data_prb"
      ]
    },
    {
      "page": "draw_data_roc",
      "title": "Generate binary data (ROC model)",
      "topics": [
        "draw_data_roc"
      ]
    },
    {
      "page": "evaluate",
      "title": "Evaluate the accuracy of multiple (candidate) classifiers in several subgroups",
      "topics": [
        "evaluate"
      ]
    },
    {
      "page": "generate_instance_lfc",
      "title": "Generate data sets under least favorable parameter configurations",
      "topics": [
        "generate_instance_lfc"
      ]
    },
    {
      "page": "generate_instance_roc",
      "title": "Generate data sets under realistic parameter configurations",
      "topics": [
        "generate_instance_roc"
      ]
    },
    {
      "page": "process_instance",
      "title": "Analyze simulated synthetic datasets.",
      "topics": [
        "process_instance"
      ]
    },
    {
      "page": "visualize",
      "title": "Visualize evaluation results",
      "topics": [
        "visualize"
      ]
    }
  ],
  "_readme": "https://github.com/maxwestphal/cases/raw/HEAD/README.md",
  "_rundeps": [
    "ADGofTest",
    "bindata",
    "boot",
    "class",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "copula",
    "corrplot",
    "cpp11",
    "dplyr",
    "e1071",
    "extraDistr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gsl",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "multcomp",
    "mvtnorm",
    "numDeriv",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "proxy",
    "pspline",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "stabledist",
    "survival",
    "TH.data",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "package_overview.Rmd",
      "filename": "package_overview.html",
      "title": "R package cases: overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparation",
        "Important functions",
        "categorize()",
        "compare()",
        "evaluate()",
        "draw_data()",
        "Common workflows",
        "Multiple testing for co-primary endpoints",
        "Specification of hypotheses",
        "Comparison vs. confidence regions",
        "Real data example",
        "References"
      ],
      "created": "2022-08-06 14:30:54",
      "modified": "2024-07-17 12:07:45",
      "commits": 5
    },
    {
      "source": "example_wdbc.Rmd",
      "filename": "example_wdbc.html",
      "title": "Real-world example: biomarker assessment and prediction model evaluation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparation",
        "Introduction",
        "Scenario A: Biomarker assessment",
        "Scenario B: Prediction model evaluation",
        "References"
      ],
      "created": "2022-08-06 14:30:54",
      "modified": "2025-01-04 16:09:11",
      "commits": 8
    }
  ],
  "_score": 4.505149978319906,
  "_indexed": true,
  "_nocasepkg": "cases",
  "_universes": [
    "maxwestphal"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-13T08:19:42.000Z",
      "distro": "noble",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "50cceeaa82669caa9f4c1c8c8a6cf400a412dc8e879e42e8a7c4653d581da6d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-13T08:19:40.000Z",
      "distro": "noble",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "dcce3e58f16bb6ec0021c848d5ba3218b9ca109c036ce76580cb553134807367",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-13T08:19:58.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "6ed78f17da0397adf405b6ab1d01c85066370616005618a1403a4e46caaab137",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-13T08:18:55.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "55ece010161c4e242b858c96a579fea02b4111afa71854fe6bc11cb12da18908",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T08:18:34.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "05fb1b12d6ba17ab7984326ba31a0e2a67e9c75b2d27cebca96bb5e59ee14a02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T08:18:20.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "82a76947b9a19076012c54e0c6b5d4400c26a1b7de4fba948ef0cad31d5e4b9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-13T08:18:42.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "4541ad0bf926425b06f53d3fbc874e5a7e056bcc1abd2bf23cfe4a3112dfa080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T09:55:01.000Z",
      "commit": "4eb54811e3cfcab234765e12db49129d762ccf0f",
      "fileid": "37e7b908f686b2ca4577f3143a33474736fa80e2ad339fd657e55dfa156fc27e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maxwestphal/actions/runs/25786900891"
    }
  ]
}