{
  "_id": "6ae8fc512e87f76f20acfa8f",
  "Package": "BayesPIM",
  "Title": "Bayesian Prevalence-Incidence Mixture Model",
  "Version": "2.0.1",
  "Authors@R": "person(\"Thomas\", \"Klausch\", email = \"t.klausch@amsterdamumc.nl\", role = c(\"aut\", \"cre\"))",
  "Description": "Models time-to-event data from interval-censored screening\nstudies. It accounts for latent prevalence at baseline and\nincorporates misclassification due to imperfect test\nsensitivity. For usage details, see the package vignette\n\"BayesPIM_intro\". Further details can be found in Klausch,\nLissenberg-Witte and Coupé (2026) <doi:10.1002/sim.70433>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/thomasklausch2/BayesPIM",
  "BugReports": "https://github.com/thomasklausch2/BayesPIM/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://thomasklausch2.r-universe.dev",
  "Date/Publication": "2026-11-02 19:06:23 UTC",
  "RemoteUrl": "https://github.com/thomasklausch2/bayespim",
  "RemoteRef": "HEAD",
  "RemoteSha": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-02 21:00:28 UTC",
    "User": "root"
  },
  "Author": "Thomas Klausch [aut, cre]",
  "Maintainer": "Thomas Klausch <t.klausch@amsterdamumc.nl>",
  "_user": "thomasklausch2",
  "_type": "src",
  "_file": "BayesPIM_2.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/37f5483e2c75cdfaea4fca367a534e2607847d6a36b825394d4b5bb2304432e7",
  "_filesize": 2447304,
  "_sha256": "37f5483e2c75cdfaea4fca367a534e2607847d6a36b825394d4b5bb2304432e7",
  "_expires": "2027-02-10T21:10:39.000Z",
  "_created": "2026-11-02T21:00:28.000Z",
  "_published": "2026-11-02T21:10:41.458Z",
  "_upstream": "https://github.com/thomasklausch2/bayespim",
  "_status": "success",
  "_maintainer": {
    "name": "Thomas Klausch",
    "email": "t.klausch@amsterdamumc.nl"
  },
  "_jobs": [
    {
      "job": 125548512244,
      "time": 211,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13179077570"
    },
    {
      "job": 125548512246,
      "time": 204,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13178438029"
    },
    {
      "job": 125548512133,
      "time": 162,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13179541424"
    },
    {
      "job": 125548512105,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13178692980"
    },
    {
      "job": 125548512476,
      "time": 252,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13179416947"
    },
    {
      "job": 125548512378,
      "time": 539,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13178808129"
    },
    {
      "job": 125548512579,
      "time": 252,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13180245252"
    },
    {
      "job": 125548512359,
      "time": 458,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13178528970"
    },
    {
      "job": 125546435646,
      "time": 242,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13178453050"
    },
    {
      "job": 125548512226,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13179546298"
    },
    {
      "job": 125548512466,
      "time": 445,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13179696782"
    },
    {
      "job": 125548512451,
      "time": 208,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13179761156"
    },
    {
      "job": 125548512143,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13180185169"
    },
    {
      "job": 125548512342,
      "time": 436,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13180210711"
    },
    {
      "job": 125548512792,
      "time": 164,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13180145182"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490",
  "_commit": {
    "id": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
    "author": "thomasklausch2 <thomas.klausch@gmail.com>",
    "committer": "thomasklausch2 <thomas.klausch@gmail.com>",
    "message": "Bug fix ppCIF\n",
    "time": 1793646383
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "coda",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "actuar",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "flexsurv",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    }
  ],
  "_owner": "thomasklausch2",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-34",
      "n": 5
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2026-05-07"
    },
    {
      "name": "v2.0",
      "date": "2026-08-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "thomasklausch2",
      "count": 26,
      "uuid": 27428467
    }
  ],
  "_userbio": {
    "uuid": 27428467,
    "type": "user",
    "name": "thomasklausch2",
    "followers": 4
  },
  "_downloads": {
    "count": 299,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPIM"
  },
  "_devurl": "https://github.com/thomasklausch2/bayespim",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/BayesPIM.html",
    "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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/thomasklausch2/bayespim",
  "_realowner": "thomasklausch2",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-03-22"
    },
    {
      "version": "1.0.1",
      "date": "2026-05-08"
    },
    {
      "version": "2.0",
      "date": "2026-08-21"
    }
  ],
  "_exports": [
    "bayespim",
    "gen_data",
    "get_ic",
    "log_aft_prior",
    "ppCIF",
    "search_prop_sd",
    "trim_mcmc"
  ],
  "_datasets": [
    {
      "name": "mod",
      "title": "Converged example BayesPIM fit",
      "object": "mod",
      "file": "mod.rda",
      "class": [
        "bayespim",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bayespim",
      "title": "Fitting Bayesian Prevalence-Incidence Mixture Model",
      "topics": [
        "bayespim"
      ]
    },
    {
      "page": "gen_data",
      "title": "gen_data: Simulate Screening Data for a Prevalence-Incidence Mixture Model",
      "topics": [
        "gen_data"
      ]
    },
    {
      "page": "get_ic",
      "title": "Compute Information Criteria for a Bayesian Prevalence-Incidence Mixture Model",
      "topics": [
        "get_ic"
      ]
    },
    {
      "page": "log_aft_prior",
      "title": "Log prior for accelerated failure time models",
      "topics": [
        "log_aft_prior"
      ]
    },
    {
      "page": "mod",
      "title": "Converged example BayesPIM fit",
      "topics": [
        "mod"
      ]
    },
    {
      "page": "plot.bayespim",
      "title": "Plot method for bayespim objects",
      "topics": [
        "plot.bayespim"
      ]
    },
    {
      "page": "plot.ppCIF",
      "title": "Plot posterior predictive cumulative incidence functions",
      "topics": [
        "plot.ppCIF"
      ]
    },
    {
      "page": "ppCIF",
      "title": "Posterior predictive cumulative incidence functions",
      "topics": [
        "ppCIF"
      ]
    },
    {
      "page": "search_prop_sd",
      "title": "Automated Heuristic Search of a Proposal Standard Deviation for 'bayespim'",
      "topics": [
        "search_prop_sd"
      ]
    },
    {
      "page": "summary.bayespim",
      "title": "Summary method for bayespim objects",
      "topics": [
        "summary.bayespim"
      ]
    },
    {
      "page": "trim_mcmc",
      "title": "Trim and thin an 'mcmc.list'",
      "topics": [
        "trim_mcmc"
      ]
    }
  ],
  "_readme": "https://github.com/thomasklausch2/bayespim/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "actuar",
    "assertthat",
    "backports",
    "bbmle",
    "bdsmatrix",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "data.table",
    "deSolve",
    "distributional",
    "doParallel",
    "dplyr",
    "expint",
    "farver",
    "fastGHQuad",
    "flexsurv",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lsoda",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mstate",
    "muhaz",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rstpm2",
    "S7",
    "scales",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "BayesPIM_intro.Rmd",
      "filename": "BayesPIM_intro.html",
      "title": "BayesPIM: user guide",
      "author": "Thomas Klausch",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Model estimation using bayespim",
        "Gibbs sampler",
        "bayespim input data structure",
        "Prior assumptions",
        "Basic bayespim run",
        "Updating previous bayespim runs",
        "Automatic updating till convergence",
        "Obtaining information criteria after running bayespim",
        "Posterior summaries after running bayespim",
        "Posterior summaries of the model parameters",
        "Posterior cumulative incidence functions",
        "Predictive probabilities for single time points",
        "Plotting CIFs",
        "Further topics and functionalities",
        "Estimating test sensitivity",
        "Slice, collapsed, and Metropolis samplers",
        "Metropolis sampler and the proposal standard deviation",
        "Slice sampler step size",
        "User-defined prior function",
        "Internal scaling of times and covariates",
        "References"
      ],
      "created": "2025-03-04 13:24:47",
      "modified": "2026-08-21 10:09:26",
      "commits": 6
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "bayespim",
  "_universes": [
    "thomasklausch2"
  ],
  "_previous": "2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/2c184b8bc112a6f3e49f8dde6868a401d37c0b1b30032811181ce462e6bc6fec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/95e9bc6c1b0aa3ce8349bd7cdcdacab9f9443f46467f53e43d6c40b406c08bd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-02T21:02:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/d4966923ad61b4c0813aadb00d9dfe01b63b984b28c55a9367833ac67b0921e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/1e608ec251648cb7ae7791b859ed4972086915c0fc35ba5bbb94db980479a5c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:31.000Z",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/e28e238d3672591df139deba8c00c1b51b7dbf3ce4867baf1d0ece8bd0dde337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-02T21:06:03.000Z",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/901c7f31135f84d44a4a6c9659e3fe191ee1a9eb23ce7bb820ca224f714153e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:36.000Z",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/16ae79d49cf0d67234c2ffddc18a4d259b203a79f825f545a7569adf1cd14fad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-11-02T21:04:42.000Z",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/ea79cc7a0b74448f4113d784d126c9f28ded9343949afe7f22d2ad4c2d689e5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-11-02T21:03:06.000Z",
      "arch": "emscripten",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/b48ac578df3ec63457105dceb4ffde258e2ee1f1326147fc7258f75f2a3dd26a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-02T21:06:35.000Z",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/54c2b8aa8d247ed8933884415215cfc46d870197d00292b9ed63b6f6d07aaa82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-02T21:02:09.000Z",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/09d0d727389ea621feaab45cc8f1cd1cf32e48197a768108942b923e37515dd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-02T21:02:03.000Z",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/481ea9f61ebd02c4221c292ee947661cdff8d5a77d77d216b3a3e96e45dfc7a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-02T21:06:21.000Z",
      "arch": "aarch64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/9fac8f3e651c5e87480b588d7e5d5114a3b52c38d6c1f7142dd7c8f0cf48f667",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-11-02T21:02:15.000Z",
      "arch": "x86_64",
      "commit": "301bcc8a789a0ffe7cf86b5219b5ce7ef07dc8a7",
      "fileid": "https://r2.ropensci.org/a5c67b5adef6b0c1f822696c9336f9c07c1209b85d07b2b7e25bbfcc2a717d74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/41523808490"
    }
  ]
}