{
  "_id": "6a2137d7cd65a98ecbd270ec",
  "Type": "Package",
  "Package": "refineR",
  "Version": "2.0.0",
  "Date": "2025-11-05",
  "Encoding": "UTF-8",
  "Title": "Reference Interval Estimation using Real-World Data",
  "Author": "Matthias Beck [aut, cre] (ORCID:\n<https://orcid.org/0009-0008-7678-4581>), Tatjana Ammer [aut]\n(ORCID: <https://orcid.org/0000-0003-2809-0266>), Christopher M\nRank [aut], Andre Schuetzenmeister [aut] (ORCID:\n<https://orcid.org/0000-0002-2964-5502>)",
  "Maintainer": "Matthias Beck <matthias.beck.mb1@roche.com>",
  "Authors@R": "c(\nperson(given =\"Matthias\", family = \"Beck\", email =\"matthias.beck.mb1@roche.com\", role =c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0008-7678-4581\")),\nperson(given =\"Tatjana\", family =\"Ammer\", email =\"tatjana.ammer@roche.com\", role =\"aut\", comment = c(ORCID = \"0000-0003-2809-0266\")),\nperson(given =\"Christopher M\", family = \"Rank\", email =\"christopher.rank@roche.com\", role =\"aut\", comment = c(ORCID = \"\")),\nperson(given =\"Andre\", family =\"Schuetzenmeister\", email =\"andre.schuetzenmeister@roche.com\", role =\"aut\", comment = c(ORCID = \"0000-0002-2964-5502\")))",
  "Description": "Indirect method for the estimation of reference intervals\n(RIs) using Real-World Data ('RWD') and methods for comparing\nand verifying RIs. Estimates RIs by applying advanced\nstatistical methods to routine diagnostic test measurements,\nwhich include both pathological and non-pathological samples,\nto model the distribution of non-pathological samples. This\ndistribution is then used to derive reference intervals and\nsupport RI verification, i.e., deciding if a specific RI is\nsuitable for the local population. The package also provides\nfunctions for printing and plotting algorithm results. See\n?refineR for a detailed description of features. Version 1.0 of\nthe algorithm is described in 'Ammer et al. (2021)'\n<doi:10.1038/s41598-021-95301-2>. Additional guidance is in\n'Ammer et al. (2023)' <doi:10.1093/jalm/jfac101>. The\nverification method is described in 'Beck et al. (2025)'\n<doi:10.1515/cclm-2025-0728>.",
  "License": "GPL (>= 3)",
  "VignetteBuilder": "knitr, rmarkdown",
  "NeedsCompilation": "no",
  "LazyData": "TRUE",
  "RoxygenNote": "7.3.2",
  "Packaged": {
    "Date": "2026-06-04 08:28:28 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-11-06 17:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/refineR",
  "RemoteRef": "HEAD",
  "RemoteSha": "0592f142c7c51d2b5d3ce703d016d1c9f5b7de84",
  "MD5sum": "5f78419ee4e29a4a3d6caf56f4fe722c",
  "_user": "cran",
  "_type": "src",
  "_file": "refineR_2.0.0.tar.gz",
  "_fileid": "58ac12605f291ea7d18759fe8357e14b3e4ac08e72389f0147d689fe6ea010a4",
  "_filesize": 5234335,
  "_sha256": "58ac12605f291ea7d18759fe8357e14b3e4ac08e72389f0147d689fe6ea010a4",
  "_created": "2026-06-04T08:28:28.000Z",
  "_published": "2026-06-04T08:31:19.390Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79479837903,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406674260"
    },
    {
      "job": 79479837674,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406679160"
    },
    {
      "job": 79479157767,
      "time": 248,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406634322"
    },
    {
      "job": 79479837700,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406672124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26940064264",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/refineR",
  "_commit": {
    "id": "0592f142c7c51d2b5d3ce703d016d1c9f5b7de84",
    "author": "Matthias Beck <matthias.beck.mb1@roche.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.0.0\n",
    "time": 1762449602
  },
  "_maintainer": {
    "name": "Matthias Beck",
    "email": "matthias.beck.mb1@roche.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ash",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.0.0",
      "date": "2025-11-06"
    }
  ],
  "_stars": 4,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 336,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/refineR"
  },
  "_mentions": 1,
  "_searchresults": 27,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/refineR.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-08-02"
    },
    {
      "version": "1.5.0",
      "date": "2022-06-03"
    },
    {
      "version": "1.5.1",
      "date": "2022-07-19"
    },
    {
      "version": "1.6.0",
      "date": "2023-03-08"
    },
    {
      "version": "1.6.1",
      "date": "2023-11-14"
    },
    {
      "version": "1.6.2",
      "date": "2024-08-21"
    },
    {
      "version": "2.0.0",
      "date": "2025-11-06"
    }
  ],
  "_exports": [
    "BoxCox",
    "findRI",
    "getRI",
    "getRISimilarity",
    "invBoxCox",
    "plot.RWDRI",
    "print.RWDRI",
    "verifyRI"
  ],
  "_datasets": [
    {
      "name": "testcase1",
      "title": "Simulated Testcase 1.",
      "object": "testcase1",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "testcase2",
      "title": "Simulated Testcase 2.",
      "object": "testcase2",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "testcase3",
      "title": "Simulated Testcase 3.",
      "object": "testcase3",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "testcase4",
      "title": "Simulated Testcase 4.",
      "object": "testcase4",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "testcase5",
      "title": "Simulated Testcase 5.",
      "object": "testcase5",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "refineR-Package",
      "title": "refineR: Reference Interval Estimation using Real-World Data (RWD)",
      "topics": [
        "refineR-package",
        "refineR"
      ]
    },
    {
      "page": "addGrid",
      "title": "Add a grid to an existing plot.",
      "topics": [
        "addGrid"
      ]
    },
    {
      "page": "alignVec",
      "title": "Helper function to align the content of printed tables",
      "topics": [
        "alignVec"
      ]
    },
    {
      "page": "as.rgb",
      "title": "Convert color-names or RGB-code to possibly semi-transparent RGB-code.",
      "topics": [
        "as.rgb"
      ]
    },
    {
      "page": "ashDensity",
      "title": "Estimate density of distribution employing the R package \"ash\" using R-wrapper function.",
      "topics": [
        "ashDensity"
      ]
    },
    {
      "page": "BoxCox",
      "title": "One-parameter Box-Cox transformation.",
      "topics": [
        "BoxCox"
      ]
    },
    {
      "page": "calculateCostHist",
      "title": "Calculate costs for a specific combinations of lambda, muVec and sigmaVec.",
      "topics": [
        "calculateCostHist"
      ]
    },
    {
      "page": "cdfTruncatedBoxCox",
      "title": "Function to calculate the RI from a set of parameters",
      "topics": [
        "cdfTruncatedBoxCox"
      ]
    },
    {
      "page": "checkInvalidArgs",
      "title": "Check Invalid Arguments",
      "topics": [
        "checkInvalidArgs"
      ]
    },
    {
      "page": "createVerificationTab",
      "title": "Create Verification Table",
      "topics": [
        "createVerificationTab"
      ]
    },
    {
      "page": "defineSearchRegions",
      "title": "Helper function to define search regions for mu and sigma and to get the region around the main peak 'ab'",
      "topics": [
        "defineSearchRegions"
      ]
    },
    {
      "page": "estimateAB",
      "title": "Helper function to find region around the main peak of a distribution",
      "topics": [
        "estimateAB"
      ]
    },
    {
      "page": "findMainPeak",
      "title": "Helper function to find the main peak of a distribution",
      "topics": [
        "findMainPeak"
      ]
    },
    {
      "page": "findPeaksAndValleys",
      "title": "Find the index of the peaks and valleys of the density estimation.",
      "topics": [
        "findPeaksAndValleys"
      ]
    },
    {
      "page": "findRI",
      "title": "Function to estimate reference intervals for a single population",
      "topics": [
        "findRI"
      ]
    },
    {
      "page": "findRoundingBase",
      "title": "Estimate rounding base of the input data.",
      "topics": [
        "findRoundingBase"
      ]
    },
    {
      "page": "generateHistData",
      "title": "Generate list with histogram data.",
      "topics": [
        "generateHistData"
      ]
    },
    {
      "page": "getEquivalenceLimits",
      "title": "Calculate equivalence limits",
      "topics": [
        "getEquivalenceLimits"
      ]
    },
    {
      "page": "getRI",
      "title": "Method to calculate reference intervals (percentiles) for objects of class 'RWDRI'",
      "topics": [
        "getRI"
      ]
    },
    {
      "page": "getRIfromRWDRI",
      "title": "Get Reference Interval from RWDRI",
      "topics": [
        "getRIfromRWDRI"
      ]
    },
    {
      "page": "getRIMargins",
      "title": "Calculate uncertainty margins for a reference interval using the asymptotic method",
      "topics": [
        "getRIMargins"
      ]
    },
    {
      "page": "getRISimilarity",
      "title": "Calculate similarity of two reference intervals",
      "topics": [
        "getRISimilarity"
      ]
    },
    {
      "page": "getSumForPArea",
      "title": "Helper function to calculate the amount of observed and estimated data points within specified regions around the peak.",
      "topics": [
        "getSumForPArea"
      ]
    },
    {
      "page": "getVerificationArgs",
      "title": "Get the correct values for RI, RIperc, Lambda, and Shift for the verification",
      "topics": [
        "getVerificationArgs"
      ]
    },
    {
      "page": "invBoxCox",
      "title": "Inverse of the one-parameter Box-Cox transformation.",
      "topics": [
        "invBoxCox"
      ]
    },
    {
      "page": "optimizeGrid",
      "title": "Helper function for grid search for mu and sigma.",
      "topics": [
        "optimizeGrid"
      ]
    },
    {
      "page": "perc_ci_asymptotic",
      "title": "Function to approximate the sampling uncertainty of quantiles using the asymptotic method",
      "topics": [
        "perc_ci_asymptotic"
      ]
    },
    {
      "page": "plot.RWDRI",
      "title": "Standard plot method for objects of class 'RWDRI'",
      "topics": [
        "plot.RWDRI"
      ]
    },
    {
      "page": "plotRIVerification",
      "title": "Plot method for RI verification",
      "topics": [
        "plotRIVerification"
      ]
    },
    {
      "page": "pnormApprox",
      "title": "Approximate calculation of CDF of normal distribution.",
      "topics": [
        "pnormApprox"
      ]
    },
    {
      "page": "print.RWDRI",
      "title": "Standard print method for objects of class 'RWDRI'",
      "topics": [
        "print.RWDRI"
      ]
    },
    {
      "page": "printDataFractionWithinOutsideRI",
      "title": "Print Data Fractions Within and Outside Reference Intervals",
      "topics": [
        "printDataFractionWithinOutsideRI"
      ]
    },
    {
      "page": "printSimilarityTable",
      "title": "Helper function to print the results of getRISimilarity",
      "topics": [
        "printSimilarityTable"
      ]
    },
    {
      "page": "printTableHeader",
      "title": "Helper function to print Table Header",
      "topics": [
        "printTableHeader"
      ]
    },
    {
      "page": "printTableRows",
      "title": "Helper function to print Table Rows",
      "topics": [
        "printTableRows"
      ]
    },
    {
      "page": "printVerificationTable",
      "title": "Print Verification Table",
      "topics": [
        "printVerificationTable"
      ]
    },
    {
      "page": "testcase1",
      "title": "Simulated Testcase 1.",
      "topics": [
        "testcase1"
      ]
    },
    {
      "page": "testcase2",
      "title": "Simulated Testcase 2.",
      "topics": [
        "testcase2"
      ]
    },
    {
      "page": "testcase3",
      "title": "Simulated Testcase 3.",
      "topics": [
        "testcase3"
      ]
    },
    {
      "page": "testcase4",
      "title": "Simulated Testcase 4.",
      "topics": [
        "testcase4"
      ]
    },
    {
      "page": "testcase5",
      "title": "Simulated Testcase 5.",
      "topics": [
        "testcase5"
      ]
    },
    {
      "page": "testParam",
      "title": "Helper function to find optimal parameters lambda, mu and sigma.",
      "topics": [
        "testParam"
      ]
    },
    {
      "page": "verifyRI",
      "title": "Verify Reference Intervals",
      "topics": [
        "verifyRI"
      ]
    }
  ],
  "_rundeps": [
    "ash",
    "codetools",
    "digest",
    "future",
    "future.apply",
    "globals",
    "listenv",
    "parallelly"
  ],
  "_vignettes": [
    {
      "source": "refineR_package.Rmd",
      "filename": "refineR_package.html",
      "title": "refineR: Reference Interval Estimation using Real-World Data (RWD)",
      "author": "Tatjana Ammer, Matthias Beck, Christopher M Rank",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Input Data",
        "Model Estimation and Presentation of Results",
        "Default Settings",
        "Advanced Settings",
        "Computation of Confidence Intervals",
        "Estimation using Two-Parameter Box-Cox Transformation",
        "Print and getRI Function Arguments",
        "Plot Function Arguments",
        "References"
      ],
      "created": "2022-07-19 14:50:01",
      "modified": "2025-11-06 17:20:02",
      "commits": 4
    },
    {
      "source": "verification.rmd",
      "filename": "verification.html",
      "title": "VeRUS: Verification of Reference Intervals Based on the Uncertainty of Sampling",
      "author": "Matthias Beck & Christopher M Rank",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Description of VeRUS",
        "Application of VeRUS",
        "Possible Inputs of the verifyRI Function",
        "Interpretation of the Results",
        "Quantification of the Similarity of Two Reference Intervals",
        "Advanced Applications",
        "Invisible Output of the verifyRI Function",
        "Non-Default Parameters to Define Uncertainty Margins",
        "Customization of the Plot",
        "Advanced Parameters for getRISimilarity",
        "Alternative Verification Method",
        "References"
      ],
      "created": "2025-11-06 17:20:02",
      "modified": "2025-11-06 17:20:02",
      "commits": 1
    }
  ],
  "_score": 3.334453751150931,
  "_indexed": true,
  "_nocasepkg": "refiner",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-04T08:30:16.000Z",
      "distro": "noble",
      "commit": "0592f142c7c51d2b5d3ce703d016d1c9f5b7de84",
      "fileid": "dccbbc86f33a1a1c10ba3e24b75adaf325890c8304ede3fb3caed722a784b325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940064264"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-06-04T08:30:29.000Z",
      "distro": "noble",
      "commit": "0592f142c7c51d2b5d3ce703d016d1c9f5b7de84",
      "fileid": "128dbac99a762d97d65bf1b306e532e5daecf8427f5333d4566cff073bdb1d41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940064264"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-06-04T08:30:29.000Z",
      "commit": "0592f142c7c51d2b5d3ce703d016d1c9f5b7de84",
      "fileid": "a57820ce1e67b9ef45f035408292cbb3149eebc31955d4b9ee4e018a4cefb788",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26940064264"
    }
  ]
}