{
  "_id": "6abcc4ad99f7aa8c6aa4b771",
  "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-09-30 07:31:59 UTC",
    "User": "root"
  },
  "Author": "Giorgio Pioda [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8714-8678>)",
  "_user": "piodag",
  "_type": "src",
  "_file": "rstanbdp_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3be5dc6f8d9cd91cdfc00b2b5537a15ee736ff58e6ac50b7c867c74e9703299d",
  "_filesize": 158247,
  "_sha256": "3be5dc6f8d9cd91cdfc00b2b5537a15ee736ff58e6ac50b7c867c74e9703299d",
  "_expires": "2027-01-08T08:13:31.000Z",
  "_created": "2026-09-30T07:31:59.000Z",
  "_published": "2026-09-30T08:13:33.352Z",
  "_jobs": [
    {
      "job": 109787289670,
      "time": 400,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11083811138"
    },
    {
      "job": 109787289655,
      "time": 445,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11083363038"
    },
    {
      "job": 109787289662,
      "time": 391,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083328112"
    },
    {
      "job": 109787289730,
      "time": 439,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083022924"
    },
    {
      "job": 109787289772,
      "time": 344,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11084496982"
    },
    {
      "job": 109787289650,
      "time": 679,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11084155930"
    },
    {
      "job": 109787289760,
      "time": 335,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11084477383"
    },
    {
      "job": 109787289928,
      "time": 597,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11084776275"
    },
    {
      "job": 109785211001,
      "time": 404,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083302015"
    },
    {
      "job": 109787289692,
      "time": 318,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11083775987"
    },
    {
      "job": 109787289837,
      "time": 588,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11083114920"
    },
    {
      "job": 109787289856,
      "time": 584,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11083393389"
    },
    {
      "job": 109787289713,
      "time": 434,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11083741683"
    },
    {
      "job": 109787289939,
      "time": 550,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083257818"
    },
    {
      "job": 109787289812,
      "time": 498,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11083766574"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 1,
    "description": "Dr sc. nat. ETH, DAS appl. stat. ETH"
  },
  "_downloads": {
    "count": 290,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstanbdp"
  },
  "_devurl": "https://github.com/piodag/rstanbdp",
  "_searchresults": 0,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/rstanbdp.html"
  ],
  "_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": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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-09-30T07:37:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/386c870744ea7d1f1a43b1af8d30be2923b4ad3f975d9b7b59b54e97e855a20b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-30T07:37:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/ba6a2b08fff79a7146b576d3fcf043da546cbb949f12f787cd13664b9a493113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-30T07:37:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/fe1cbbe13a0ce64c35c0cdac66e78ac54c2aef79cbaacd9292788ff2bc697e99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-30T07:38:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/e13dbd531b3021e4d7ed2f50ad81d222d6a97445fe28a6d4df8670a44b0283f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-30T08:08:56.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/7bcad71d9401a61abd57ef6279af562d078ab9038d26efb58740958c38fa2083",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-30T07:55:04.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/9b4e3faa956ef861ebfc2f488b7426f52d4a7749477842caa1a0c67e776600e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-30T08:05:07.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/26fbc86d29ba3f0bd905e02408e2c435db2d797c5e787c262ee610c49fe9ff7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-30T07:58:58.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/09bd9e14ef5100466eeafa08a8fc361f57d1484ef5f6fd2b6bdc85fa252be32e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-09-30T07:38:09.000Z",
      "arch": "emscripten",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/8819b5ae43687aa9f928d85172242eb1b51dbc8b09f1fbb53a60cfc4d8a7d441",
      "status": "success",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-30T07:40:19.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/b8402b0601c1b6d966e51f75299082b6379ab06a4ce16cfefa31abe88b0b3a91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-30T07:37:33.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/396771952cd3c18a89d1a973c59d994ff0f059534a32fab2db6711241d936f38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-30T07:36:38.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/c3bf3d49872d9b145f03d33afa9a6f8971f461c29e319e3a9431246ff31dbe6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-30T07:39:53.000Z",
      "arch": "aarch64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/e6fdfda8d744e1d26d05f8790a815724098d91bb42a8104235da200f70e11aeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-30T07:36:34.000Z",
      "arch": "x86_64",
      "commit": "bd25fd4d795a544ac1bcea3bb883b8413684dae5",
      "fileid": "https://r2.ropensci.org/585b561a69fb877df12813d559e627a6111882426a9f54220059e73e6dda2caf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/piodag/actions/runs/36683848906"
    }
  ]
}