{
  "_id": "6a1fe8ebb401979e7343dd6b",
  "Package": "certestats",
  "Title": "A Certe R Package for Statistical Modelling",
  "Version": "1.24.7",
  "Authors@R": "c(\nperson(given = c(\"Matthijs\", \"S.\"),\nfamily = \"Berends\",\nrole = c(\"aut\", \"cre\"),\nemail = \"m.berends@certe.nl\"),\nperson(given = c(\"Erwin\", \"E.\", \"A.\"),\nfamily = \"Hassing\",\nrole = c(\"aut\"),\nemail = \"e.hassing@certe.nl\"),\nperson(given = c(\"Erwin\"),\nfamily = \"Dijkstra\",\nrole = c(\"aut\"),\nemail = \"e.dijkstra@certe.nl\"),\nperson(given = \"Certe Medical Diagnostics & Advice Foundation\",\nrole = c(\"cph\", \"fnd\")))",
  "Description": "A Certe R Package for early-warning, applying statistical\nmodelling (such as creating machine learning models), QC rules\nand distribution analysis. This package is part of the\n'certedata' universe.",
  "URL": "https://certe-medical-epidemiology.github.io/certestats,\nhttps://github.com/certe-medical-epidemiology/certestats",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "2",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libx11-dev",
  "Repository": "https://certe-medical-epidemiology.r-universe.dev",
  "Date/Publication": "2026-04-04 08:41:11 UTC",
  "RemoteUrl": "https://github.com/certe-medical-epidemiology/certestats",
  "RemoteRef": "HEAD",
  "RemoteSha": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 08:35:19 UTC",
    "User": "root"
  },
  "Author": "Matthijs S. Berends [aut, cre],\nErwin E. A. Hassing [aut],\nErwin Dijkstra [aut],\nCerte Medical Diagnostics & Advice Foundation [cph, fnd]",
  "Maintainer": "Matthijs S. Berends <m.berends@certe.nl>",
  "MD5sum": "6e140c201b1389b2af3e425356230d7f",
  "_user": "certe-medical-epidemiology",
  "_type": "src",
  "_file": "certestats_1.24.7.tar.gz",
  "_fileid": "a6dec58742fdc6ca9d32ff0f9e3564cd9797ea2de668f272e08430ccb221e3d4",
  "_filesize": 283426,
  "_sha256": "a6dec58742fdc6ca9d32ff0f9e3564cd9797ea2de668f272e08430ccb221e3d4",
  "_created": "2026-06-03T08:35:19.000Z",
  "_published": "2026-06-03T08:42:19.363Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79254191790,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379682544"
    },
    {
      "job": 79254191695,
      "time": 303,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379713921"
    },
    {
      "job": 79254191730,
      "time": 164,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379731287"
    },
    {
      "job": 79254191621,
      "time": 181,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379682164"
    },
    {
      "job": 79253356527,
      "time": 299,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379611688"
    },
    {
      "job": 79254191827,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379669690"
    },
    {
      "job": 79254192005,
      "time": 260,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7379700211"
    },
    {
      "job": 79254191956,
      "time": 193,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7379677200"
    },
    {
      "job": 79254191678,
      "time": 231,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7379690515"
    }
  ],
  "_buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/certe-medical-epidemiology/certestats",
  "_commit": {
    "id": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
    "author": "Matthijs Berends <m.s.berends@umcg.nl>",
    "committer": "Matthijs Berends <m.s.berends@umcg.nl>",
    "message": "add certellm\n",
    "time": 1775292071
  },
  "_maintainer": {
    "name": "Matthijs S. Berends",
    "email": "m.berends@certe.nl",
    "login": "msberends",
    "mastodon": "@msberends@mastodon.social",
    "linkedin": "https://LinkedIn.com/in/msberends",
    "description": "Medical epidemiologist/microbiologist, head of @umcg-mmbi-epidemiology and @certe-medical-epidemiology",
    "uuid": 31037261
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "certestyle",
      "role": "Imports"
    },
    {
      "package": "AMR",
      "version": ">= 3.0.1",
      "role": "Imports"
    },
    {
      "package": "broom",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "dials",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "hardhat",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.9.0",
      "role": "Imports"
    },
    {
      "package": "parsnip",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "recipes",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "rsample",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "tune",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.6.0",
      "role": "Imports"
    },
    {
      "package": "workflows",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "version": ">= 2.2.0",
      "role": "Imports"
    },
    {
      "package": "yardstick",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "censored",
      "version": ">= 0.1.0",
      "role": "Suggests"
    },
    {
      "package": "certeplot2",
      "role": "Suggests"
    },
    {
      "package": "kknn",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "version": ">= 3.7.5",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "plot2",
      "role": "Suggests"
    },
    {
      "package": "progress",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "rpart.plot",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.0.0",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    }
  ],
  "_owner": "certe-medical-epidemiology",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 4
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "statistics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "msberends",
      "count": 101,
      "uuid": 31037261
    }
  ],
  "_userbio": {
    "uuid": 92214397,
    "type": "organization",
    "name": "Certe Medical Epidemiology",
    "description": "Repo collection of the non-profit organisation Certe, Department of Medical Epidemiology. Here to support open science."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/certestats"
  },
  "_devurl": "https://github.com/certe-medical-epidemiology/certestats",
  "_pkgdown": "https://certe-medical-epidemiology.github.io/certestats",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/certestats.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "all",
    "any",
    "apply_model_to",
    "as.binary",
    "autoplot",
    "centre_mean",
    "check_testing_predictions",
    "ci",
    "confusion_matrix",
    "correlation_plot",
    "cqv",
    "cv",
    "deciles",
    "detect_biomarker_changes",
    "detect_disease_clusters",
    "everything",
    "ewma",
    "feature_importance_plot",
    "feature_importances",
    "fivenum",
    "gain_plot",
    "get_accuracy",
    "get_coefficients",
    "get_kappa",
    "get_metrics",
    "get_mice",
    "get_model_variables",
    "get_original_data",
    "get_recipe",
    "get_roc_data",
    "get_rows_testing",
    "get_rows_training",
    "get_specification",
    "get_variable_weights",
    "has_cluster_after",
    "has_cluster_before",
    "has_clusters",
    "has_ongoing_cluster",
    "impute",
    "IQR",
    "is_imputed",
    "is.binary",
    "mae",
    "mape",
    "max",
    "mean",
    "mean_geometric",
    "mean_harmonic",
    "median",
    "metrics",
    "midhinge",
    "min",
    "ml_decision_trees",
    "ml_linear_regression",
    "ml_logistic_regression",
    "ml_nearest_neighbour",
    "ml_neural_network",
    "ml_random_forest",
    "ml_xg_boost",
    "moving_average",
    "moving_fn",
    "moving_Q1",
    "moving_Q3",
    "moving_sum",
    "mse",
    "n_clusters",
    "normalise",
    "normality",
    "normalize",
    "percentiles",
    "pmax",
    "pmin",
    "prod",
    "qc_rule_text",
    "qc_rule1",
    "qc_rule2",
    "qc_rule3",
    "qc_rule4",
    "qc_rule5",
    "qc_rule6",
    "qc_rule7",
    "qc_rule8",
    "qc_test",
    "quantile",
    "range",
    "regression",
    "remove_outliers",
    "rmse",
    "roc_plot",
    "row_function",
    "rr_ewma",
    "scale_sd",
    "sd",
    "se",
    "sum",
    "sum_of_squares",
    "tree_plot",
    "try_binary",
    "tune_parameters",
    "var",
    "weighted_fn",
    "weighted_mean",
    "weighted_median",
    "weighted_Q1",
    "weighted_Q3",
    "z_score"
  ],
  "_datasets": [
    {
      "name": "esbl_tests",
      "title": "Example Data Set with ESBL Test Outcomes",
      "object": "esbl_tests",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "esbl",
        "genus",
        "AMC",
        "AMP",
        "TZP",
        "CXM",
        "FOX",
        "CTX",
        "CAZ",
        "GEN",
        "TOB",
        "TMP",
        "SXT",
        "NIT",
        "FOS",
        "CIP",
        "IPM",
        "MEM",
        "COL"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "binary",
      "title": "Work with Binary Columns",
      "topics": [
        "as.binary",
        "is.binary",
        "try_binary"
      ]
    },
    {
      "page": "confusion_matrix",
      "title": "Confusion Matrix Metrics and Interpretation",
      "topics": [
        "confusion_matrix",
        "confusion_matrix.default"
      ]
    },
    {
      "page": "detect_biomarker_changes",
      "title": "Detect Unexpected Changes in Biomarkers",
      "topics": [
        "detect_biomarker_changes"
      ]
    },
    {
      "page": "detect_disease_clusters",
      "title": "Detect Disease Clusters",
      "topics": [
        "detect_disease_clusters",
        "has_clusters",
        "has_cluster_after",
        "has_cluster_before",
        "has_ongoing_cluster",
        "n_clusters"
      ]
    },
    {
      "page": "different_means",
      "title": "Different Means",
      "topics": [
        "different_means",
        "mean_geometric",
        "mean_harmonic"
      ]
    },
    {
      "page": "distribution_metrics",
      "title": "Distribution Metrics",
      "topics": [
        "centre_mean",
        "ci",
        "cqv",
        "cv",
        "deciles",
        "distribution_metrics",
        "ewma",
        "mae",
        "mape",
        "midhinge",
        "mse",
        "normalise",
        "normalize",
        "percentiles",
        "rmse",
        "rr_ewma",
        "scale_sd",
        "se",
        "sum_of_squares",
        "z_score"
      ]
    },
    {
      "page": "esbl_tests",
      "title": "Example Data Set with ESBL Test Outcomes",
      "topics": [
        "esbl_tests"
      ]
    },
    {
      "page": "impute",
      "title": "Impute: Filling Missing Values",
      "topics": [
        "get_mice",
        "impute",
        "is_imputed"
      ]
    },
    {
      "page": "machine_learning",
      "title": "Create a Machine Learning (ML) Model",
      "topics": [
        "apply_model_to",
        "autoplot.certestats_feature_importances",
        "autoplot.certestats_ml",
        "autoplot.certestats_tuning",
        "check_testing_predictions",
        "confusion_matrix.certestats_ml",
        "correlation_plot",
        "feature_importances",
        "feature_importance_plot",
        "gain_plot",
        "get_accuracy",
        "get_coefficients",
        "get_kappa",
        "get_metrics",
        "get_model_variables",
        "get_original_data",
        "get_recipe",
        "get_roc_data",
        "get_rows_testing",
        "get_rows_training",
        "get_specification",
        "get_variable_weights",
        "machine_learning",
        "ml_decision_trees",
        "ml_linear_regression",
        "ml_logistic_regression",
        "ml_nearest_neighbour",
        "ml_neural_network",
        "ml_random_forest",
        "ml_xg_boost",
        "predict.certestats_ml",
        "roc_plot",
        "tree_plot",
        "tune_parameters"
      ]
    },
    {
      "page": "math_functions",
      "title": "Mathematical Functions With Global 'na.rm'",
      "topics": [
        "all",
        "any",
        "fivenum",
        "IQR",
        "math_functions",
        "max",
        "mean",
        "median",
        "min",
        "pmax",
        "pmin",
        "prod",
        "quantile",
        "range",
        "sd",
        "sum",
        "var"
      ]
    },
    {
      "page": "moving_average",
      "title": "Moving Average",
      "topics": [
        "moving_average",
        "moving_fn",
        "moving_Q1",
        "moving_Q3",
        "moving_sum"
      ]
    },
    {
      "page": "normality",
      "title": "Normality Analysis",
      "topics": [
        "normality"
      ]
    },
    {
      "page": "qc_rules",
      "title": "Quality Control (QC) Rules",
      "topics": [
        "qc_rule1",
        "qc_rule2",
        "qc_rule3",
        "qc_rule4",
        "qc_rule5",
        "qc_rule6",
        "qc_rule7",
        "qc_rule8",
        "qc_rules",
        "qc_rule_text",
        "qc_test"
      ]
    },
    {
      "page": "regression",
      "title": "Fast Regression Models",
      "topics": [
        "autoplot.certestats_reg",
        "plot.certestats_reg",
        "regression",
        "regression.data.frame",
        "regression.default"
      ]
    },
    {
      "page": "remove_outliers",
      "title": "Remove Outliers",
      "topics": [
        "remove_outliers"
      ]
    },
    {
      "page": "row_function",
      "title": "Apply Function per Row",
      "topics": [
        "row_function"
      ]
    },
    {
      "page": "weighted_mean",
      "title": "Weighted Mean",
      "topics": [
        "weighted_fn",
        "weighted_mean",
        "weighted_median",
        "weighted_Q1",
        "weighted_Q3"
      ]
    }
  ],
  "_pkglogo": "https://github.com/certe-medical-epidemiology/certestats/raw/HEAD/logo.svg",
  "_readme": "https://github.com/certe-medical-epidemiology/certestats/raw/HEAD/README.md",
  "_rundeps": [
    "AMR",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "broom",
    "bslib",
    "cachem",
    "certestyle",
    "class",
    "cleaner",
    "cli",
    "clipr",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "diagram",
    "dials",
    "DiceDesign",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "furrr",
    "future",
    "future.apply",
    "GauPro",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "highr",
    "hms",
    "htmltools",
    "ipred",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lbfgs",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "mixopt",
    "modelenv",
    "nnet",
    "numDeriv",
    "parallelly",
    "parsnip",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "prodlim",
    "progress",
    "progressr",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "recipes",
    "rlang",
    "rmarkdown",
    "rpart",
    "rsample",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "sfd",
    "shape",
    "slider",
    "sparsevctrs",
    "splitfngr",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tailor",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tune",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "warp",
    "withr",
    "workflows",
    "xfun",
    "yaml",
    "yardstick"
  ],
  "_score": 2.7781512503836434,
  "_indexed": true,
  "_nocasepkg": "certestats",
  "_universes": [
    "certe-medical-epidemiology",
    "msberends"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.24.7",
      "date": "2026-06-03T08:38:14.000Z",
      "distro": "noble",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "57fe907579efde26b943ac7389ea8e08891a2c5a38873987b0bc5c55c0ff2ede",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.24.7",
      "date": "2026-06-03T08:39:04.000Z",
      "distro": "noble",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "e2b0519dd3b68a132b2da5d6d2366bc6950d8ebfbe4eaaac9da9531c6de51f3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.24.7",
      "date": "2026-06-03T08:40:31.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "595bfa02a4510511e02258e1a7ff9c0f481473b37a771b4f8b277fbfa6c8e49e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.24.7",
      "date": "2026-06-03T08:37:57.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "98dc9155f2d8353f48e2e3de3f41ddb13158fdbf260ff60229606c8a3272913a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.24.7",
      "date": "2026-06-03T08:38:43.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "476902b3920015258192b4f81848dd6d9d9b0852b580f23c3214d57786d8d834",
      "status": "success",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.24.7",
      "date": "2026-06-03T08:37:52.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "5c97663ea33e000ce79e1bf37c7798507f3d548c71022e1d0b4d4dc6161163bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.24.7",
      "date": "2026-06-03T08:36:58.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "e0858304c153a0c2639295ac8d6d923919ca6dfd73eace3e19c2f095c2a40c0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.24.7",
      "date": "2026-06-03T08:37:28.000Z",
      "commit": "6ce38606f9cd64292d07aebc9225bc5021a7c788",
      "fileid": "c46cf655c9261e59b93a8066548205aeb3008de5807ba2a83adc9e9a86e241e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/certe-medical-epidemiology/actions/runs/26873126904"
    }
  ]
}