{
  "_id": "6a1e7b191d7bb097a0a64ebb",
  "Package": "rstanbdp",
  "Title": "Bayesian Deming Regression for Method Comparison",
  "Version": "0.0.2",
  "Maintainer": "Giorgio Pioda <gfwp@ticino.com>",
  "Authors@R": "person(\"Giorgio\", \"Pioda\", ,\"gfwp@ticino.com\",\nrole = c(\"aut\",\"cre\"), comment=c(ORCID=\"0000-0002-8714-8678\"))",
  "Description": "Regression methods to quantify the relation between two\nmeasurement methods are provided by this package. The focus is\non a Bayesian Deming regressions family. With a Bayesian method\nthe Deming regression can be run in a traditional fashion or\ncan be run in a robust way just decreasing the degree of\nfreedom d.f. of the sampling distribution. With d.f. = 1 an\nextremely robust Cauchy distribution can be sampled. Moreover,\nmodels for dealing with heteroscedastic data are also provided.\nFor reference see G. Pioda (2024)\n<https://piodag.github.io/bd1/>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://piodag.r-universe.dev",
  "Date/Publication": "2024-02-22 22:37:54 UTC",
  "RemoteUrl": "https://github.com/piodag/rstanbdp",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 06:26:24 UTC",
    "User": "root"
  },
  "Author": "Giorgio Pioda [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8714-8678>)",
  "MD5sum": "81ccd6985fe3811609fc39306f87c8e0",
  "_user": "piodag",
  "_type": "src",
  "_file": "rstanbdp_0.0.2.tar.gz",
  "_fileid": "125a2fbda091f9adf9fc4532520106646e7d0501f4697d225d750ed0faf78165",
  "_filesize": 157009,
  "_sha256": "125a2fbda091f9adf9fc4532520106646e7d0501f4697d225d750ed0faf78165",
  "_created": "2026-06-02T06:26:24.000Z",
  "_published": "2026-06-02T06:41:29.011Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79012616796,
      "time": 399,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350611088"
    },
    {
      "job": 79012616810,
      "time": 433,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350618933"
    },
    {
      "job": 79012616821,
      "time": 397,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350609920"
    },
    {
      "job": 79012616815,
      "time": 429,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350618198"
    },
    {
      "job": 79012616829,
      "time": 369,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350627767"
    },
    {
      "job": 79012616907,
      "time": 617,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350692314"
    },
    {
      "job": 79012616805,
      "time": 411,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350635304"
    },
    {
      "job": 79012616914,
      "time": 605,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350675458"
    },
    {
      "job": 79011804995,
      "time": 388,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350506745"
    },
    {
      "job": 79012616750,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79012616772,
      "time": 519,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7350643404"
    },
    {
      "job": 79012616793,
      "time": 547,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7350651187"
    },
    {
      "job": 79012616784,
      "time": 552,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7350652241"
    }
  ],
  "_buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/piodag/rstanbdp",
  "_commit": {
    "id": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
    "author": "piodag <gfwp@ticino.com>",
    "committer": "piodag <gfwp@ticino.com>",
    "message": "Submission data\n",
    "time": 1708641474
  },
  "_maintainer": {
    "name": "Giorgio Pioda",
    "email": "gfwp@ticino.com",
    "login": "piodag",
    "linkedin": "in/piodag",
    "orcid": "0000-0002-8714-8678",
    "description": "Dr sc. nat. ETH, DAS appl. stat. ETH",
    "uuid": 71730671
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "rrcov",
      "role": "Imports"
    },
    {
      "package": "mixtools",
      "role": "Imports"
    },
    {
      "package": "bayestestR",
      "role": "Imports"
    },
    {
      "package": "KernSmooth",
      "role": "Imports"
    }
  ],
  "_owner": "piodag",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "piodag",
      "count": 18,
      "uuid": 71730671
    }
  ],
  "_userbio": {
    "uuid": 71730671,
    "type": "user",
    "name": "Giorgio Pioda",
    "description": "Dr sc. nat. ETH, DAS appl. stat. ETH"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstanbdp"
  },
  "_devurl": "https://github.com/piodag/rstanbdp",
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/rstanbdp.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/piodag/rstanbdp",
  "_realowner": "piodag",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2024-02-23"
    },
    {
      "version": "0.0.3",
      "date": "2024-07-26"
    }
  ],
  "_exports": [
    "bdpCalcResponse",
    "bdpExtract",
    "bdpPairs",
    "bdpPlot",
    "bdpPlotBE",
    "bdpPlotResiduals",
    "bdpPrint",
    "bdpreg",
    "bdpTraceplot"
  ],
  "_datasets": [
    {
      "name": "glycHem",
      "title": "Method comparison of glycated hemoglobin measurement",
      "object": "glycHem",
      "file": "glycHem.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Method1",
        "Method2"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rstanbdp-package",
      "title": "The 'rstanbdp' package.",
      "topics": [
        "rstanbdp-package",
        "rstanbdp"
      ]
    },
    {
      "page": "bdpCalcResponse",
      "title": "Plot the calculated Y response with CI from the full Bayesian posterior distribution",
      "topics": [
        "bdpCalcResponse"
      ]
    },
    {
      "page": "bdpExtract",
      "title": "Extract relevant data from the Bayesian Deming regression",
      "topics": [
        "bdpExtract"
      ]
    },
    {
      "page": "bdpPairs",
      "title": "Pairs plot of the full posterior predictors",
      "topics": [
        "bdpPairs"
      ]
    },
    {
      "page": "bdpPlot",
      "title": "Plot Bayesian Deming regression and the confidence intervals from the full posterior distribution",
      "topics": [
        "bdpPlot"
      ]
    },
    {
      "page": "bdpPlotBE",
      "title": "Plot regression posterior pairs with CI Box and MD ellipses",
      "topics": [
        "bdpPlotBE"
      ]
    },
    {
      "page": "bdpPlotResiduals",
      "title": "Plot studentized residuals from the Bayesian Deming regression",
      "topics": [
        "bdpPlotResiduals"
      ]
    },
    {
      "page": "bdpPrint",
      "title": "Print summary of sampled data",
      "topics": [
        "bdpPrint"
      ]
    },
    {
      "page": "bdpreg",
      "title": "Bayesian Deming Pioda Regression for two method comparison with Rstan",
      "topics": [
        "bdpreg"
      ]
    },
    {
      "page": "bdpTraceplot",
      "title": "Plot a traceplot of the sampled chains",
      "topics": [
        "bdpTraceplot"
      ]
    },
    {
      "page": "bmpMD",
      "title": "Mahalanobis distance for the posterior pairs",
      "topics": [
        "bmpMD"
      ]
    },
    {
      "page": "glycHem",
      "title": "Method comparison of glycated hemoglobin measurement",
      "topics": [
        "glycHem"
      ]
    }
  ],
  "_readme": "https://github.com/piodag/rstanbdp/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "bayestestR",
    "BH",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "datawizard",
    "DEoptimR",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "inline",
    "insight",
    "isoband",
    "jquerylib",
    "jsonlite",
    "kernlab",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "mixtools",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "openssl",
    "otel",
    "pcaPP",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plotly",
    "posterior",
    "processx",
    "promises",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rmarkdown",
    "robustbase",
    "rrcov",
    "rstan",
    "rstantools",
    "S7",
    "sass",
    "scales",
    "segmented",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "rstanbdp",
  "_universes": [
    "piodag"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "f1c50932b9c8ad54632f877f4c9e97aa78cd5ffdc8053b6f93b86fcb282e0dc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "7953971f9b0c6baaac6d59594d5b9742c778eaafbbdf80bb4bfb8eb497d122bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:55.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "a650a988545e1d0f802f68e8802dd6515b29b65ebae2012a986d6b0c948fb60a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "9504768af178cdf8731c9280ea01d0ca7cc5bd7f7145ea6c5a667756ad6b7f95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-02T06:33:39.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "6338cc122607e67f052d713a539a72cb696228702d1606cc053d191049eec095",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-02T06:35:01.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "8b5b404ee9c94a53c1be59133fd3bb68db12fb538667a4506b54f8a1d6a0b99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-02T06:33:32.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "66c0a102402fe7fbaf7cf3f3c5509b6f08322842aaeccbeccad608ebac2ba107",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-02T06:33:34.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "5c708b9b2cfd999754f6dc39d0904529706d2f9324fdfdd9a514f0b1c1b20d83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:02.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "df6e9b599af139b700bbe6254a1615163a55f56edf1114026c8e6c4947da5d65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:24.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "5b93333507bf3b749a619326384536d68836096975839c0b9fe9dec00e927e6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-02T06:31:19.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "3c53dfa16febb9af6a8eaabfa4c97e070efa8dd8e1219ff149792c2d063cac59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/26802398678"
    }
  ]
}