{
  "_id": "6a3295b03efcd9bda438fdae",
  "Package": "BayesTSM",
  "Title": "Bayesian Progressive Three State Model with Censoring Due to\nIntervention",
  "Version": "1.0.1",
  "Authors@R": "person(\"Thomas\", \"Klausch\", , \"t.klausch@amsterdamumc.nl\", role = c(\"aut\", \"cre\"))",
  "Description": "In screening programs, individuals are usually followed up\nand tested (screened) for the development of a disease, such as\ncancer. The target disease often develops progressively in\nstages; for example healthy (state 1), pre-state disease (state\n2), and the disease state (state 3). When the pre-state disease\nis found during screening it is intervened upon, for example by\nsurgical removal of a lesion, so that the progression of the\npre-state disease to disease is interrupted. This is called\ncensoring due to intervention. Researchers often want to\nestimate the time from baseline to the pre-state disease, the\ntime from the pre-state disease to the disease, and the total\ntime from baseline to the disease. In addition, researchers\noften want to regress these times on baseline covariates. To\nthese ends, BayesTSM estimates a progressive three-state model\nwith censoring due to intervention using Bayesian estimation\nmethods, as described in Klausch et al. (2023)\n<doi:10.1214/22-AOAS1669>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/thomasklausch2/bayestsm",
  "BugReports": "https://github.com/thomasklausch2/bayestsm/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Repository": "https://thomasklausch2.r-universe.dev",
  "Date/Publication": "2026-06-08 18:05:38 UTC",
  "RemoteUrl": "https://github.com/thomasklausch2/bayestsm",
  "RemoteRef": "HEAD",
  "RemoteSha": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-17 12:35:45 UTC",
    "User": "root"
  },
  "Author": "Thomas Klausch [aut, cre]",
  "Maintainer": "Thomas Klausch <t.klausch@amsterdamumc.nl>",
  "MD5sum": "d034e6bfd466cf01dcdcc499d9215a30",
  "_user": "thomasklausch2",
  "_type": "src",
  "_file": "BayesTSM_1.0.1.tar.gz",
  "_fileid": "bf9cdfa6b3cb6e24df77fdc27cfe59c46bf6ad98f138e6c7ef58e5e42bcb9cff",
  "_filesize": 2584014,
  "_sha256": "bf9cdfa6b3cb6e24df77fdc27cfe59c46bf6ad98f138e6c7ef58e5e42bcb9cff",
  "_created": "2026-06-17T12:35:45.000Z",
  "_published": "2026-06-17T12:40:16.832Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81896097358,
      "time": 200,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7695539185"
    },
    {
      "job": 81896097340,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7695534020"
    },
    {
      "job": 81896097413,
      "time": 181,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695533422"
    },
    {
      "job": 81896097341,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695529628"
    },
    {
      "job": 81896097490,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7695515622"
    },
    {
      "job": 81896097307,
      "time": 214,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7695545232"
    },
    {
      "job": 81896097378,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695507067"
    },
    {
      "job": 81896097408,
      "time": 222,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695548148"
    },
    {
      "job": 81895398822,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695461856"
    },
    {
      "job": 81896097423,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695513221"
    },
    {
      "job": 81896097589,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7695529762"
    },
    {
      "job": 81896097443,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7695522985"
    },
    {
      "job": 81896097315,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7695515792"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/thomasklausch2/bayestsm",
  "_commit": {
    "id": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
    "author": "thomasklausch2 <thomas.klausch@gmail.com>",
    "committer": "thomasklausch2 <thomas.klausch@gmail.com>",
    "message": "Minor beauty correction to get BayesTSM CRAN-ready\n\nupdate to v.1.01\n",
    "time": 1780941938
  },
  "_maintainer": {
    "name": "Thomas Klausch",
    "email": "t.klausch@amsterdamumc.nl"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "actuar",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "MCMCpack",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    }
  ],
  "_owner": "thomasklausch2",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "BayesTSM_1.0",
      "date": "2026-05-29"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "thomasklausch2",
      "count": 7,
      "uuid": 27428467
    }
  ],
  "_userbio": {
    "uuid": 27428467,
    "type": "user",
    "name": "thomasklausch2",
    "followers": 4
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesTSM"
  },
  "_devurl": "https://github.com/thomasklausch2/bayestsm",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesTSM.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thomasklausch2/bayestsm",
  "_realowner": "thomasklausch2",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-06-16"
    }
  ],
  "_exports": [
    "bayestsm",
    "bayestsm_seq",
    "gendat",
    "get_IC",
    "get_IC_seq",
    "log_aft_prior",
    "ppCIF",
    "search_prop_sd",
    "search_prop_sd_seq",
    "trim.mcmc"
  ],
  "_datasets": [
    {
      "name": "mod_slice",
      "title": "A small fitted 'bayestsm' model for examples",
      "object": "mod_slice",
      "class": [
        "bayestsm",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bayestsm",
      "title": "Bayesian Accelerated Failure-Time Three-State Model with Censoring After Intervention",
      "topics": [
        "bayestsm"
      ]
    },
    {
      "page": "bayestsm_seq",
      "title": "Bayesian Accelerated Failure-Time Three-State Model with Censoring After Intervention (sequential processing)",
      "topics": [
        "bayestsm_seq"
      ]
    },
    {
      "page": "gendat",
      "title": "Generate interval-censored three-state screening data",
      "topics": [
        "gendat"
      ]
    },
    {
      "page": "get_IC",
      "title": "Compute information criteria for a fitted 'bayestsm' model",
      "topics": [
        "get_IC"
      ]
    },
    {
      "page": "get_IC_seq",
      "title": "Compute information criteria for a fitted 'bayestsm' model (sequential processing)",
      "topics": [
        "get_IC_seq"
      ]
    },
    {
      "page": "mod_slice",
      "title": "A small fitted 'bayestsm' model for examples",
      "topics": [
        "mod_slice"
      ]
    },
    {
      "page": "plot.bayestsm",
      "title": "Plot method for bayestsm objects",
      "topics": [
        "plot.bayestsm"
      ]
    },
    {
      "page": "plot.ppCIF",
      "title": "Plot posterior predictive CIFs",
      "topics": [
        "plot.ppCIF"
      ]
    },
    {
      "page": "ppCIF",
      "title": "Posterior Predictive CIFs for X, S, and Y=X+S",
      "topics": [
        "ppCIF"
      ]
    },
    {
      "page": "search_prop_sd",
      "title": "Heuristic search for a Metropolis-Hastings proposal standard deviation",
      "topics": [
        "search_prop_sd"
      ]
    },
    {
      "page": "search_prop_sd_seq",
      "title": "Heuristic search for a Metropolis-Hastings proposal standard deviation (sequential processing)",
      "topics": [
        "search_prop_sd_seq"
      ]
    },
    {
      "page": "summary.bayestsm",
      "title": "Summary method for bayestsm objects",
      "topics": [
        "summary.bayestsm"
      ]
    },
    {
      "page": "trim.mcmc",
      "title": "Trim and thin an 'mcmc.list'",
      "topics": [
        "trim.mcmc"
      ]
    }
  ],
  "_readme": "https://github.com/thomasklausch2/bayestsm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "actuar",
    "backports",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "distributional",
    "doParallel",
    "expint",
    "farver",
    "foreach",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "mcmc",
    "MCMCpack",
    "mvtnorm",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "bayestsm-userguide.Rmd",
      "filename": "bayestsm-userguide.html",
      "title": "BayesTSM: user guide",
      "author": "Thomas Klausch",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Model estimation using bayestsm",
        "Gibbs sampler",
        "bayestsm input data structure",
        "Prior assumptions",
        "Basic bayestsm run",
        "Updating previous bayestsm runs",
        "Automatic updating till convergence",
        "Obtaining information criteria after running bayestsm",
        "Posterior summaries after running bayestsm",
        "Posterior summaries of the model parameters",
        "Posterior cumulative transition probability plots (CDFs / CIFs)",
        "Predictive probabilities for single supplied time points",
        "Plotting CIFs",
        "Further topics and functionalities",
        "Metropolis sampler",
        "Slice sampler step size",
        "Specifying a user-defined prior function",
        "Internal scaling of transition times",
        "Sequential instead of parallel processing",
        "References"
      ],
      "created": "2026-05-29 17:41:14",
      "modified": "2026-06-08 18:05:38",
      "commits": 2
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "bayestsm",
  "_universes": [
    "thomasklausch2"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "7af6ac6940e6a10b12d946e0ff849fc656e9d13ddc9a29ee76579a26c1be5947",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "07ef1d07bf38fef15fca6b5d1574e3d6e1217c026ca2f92c058e4624cc52595f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "3e7e0c53eb7983d8db707752aa70683d4a77bb6a0e19bcc0fe709f76c7527c4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "256e1e33eb74e0a6faa11df086dd6d8057a171367b9015f5b3edc4cbe37d8eb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-17T12:37:47.000Z",
      "arch": "aarch64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "d906cfe8395f65f6b2b47cd4dc8da84a5a9904a200cbef653d01d7e00a60be7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:37.000Z",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "251d568458a44b64cc6c5d0760a43df71cd3d42aa1fb162ed60410e3df77705f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-17T12:37:28.000Z",
      "arch": "aarch64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "8127e2d7628285a7f7d617d9d42d418d977682e1dce015abe7c09ae1844c2594",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:43.000Z",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "ac61f64b36c97e8a3890999bb5dc18fae424665ff121d6bc2ed9ef862a573ab8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-17T12:38:19.000Z",
      "arch": "emscripten",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "fc8625167593f374bc873d7025e36de4f19e45810aadfba45f3da97cd6eeb5ef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-17T12:37:52.000Z",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "54c82aa3e5510d3c2a289a0d2f8cdc330246acc5155dc498ede6819674d631a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-17T12:37:40.000Z",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "5d4e619bbffa1071642996ec987cd29aeb478ecb4e0399d4640e187278475778",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-17T12:37:14.000Z",
      "arch": "x86_64",
      "commit": "a829278034f54e35f4ff6b9f6c34d48ba9652e6f",
      "fileid": "5642c1fc7367182fe851372330360db62cece595c5a7a90f084abfbffbef16d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/thomasklausch2/actions/runs/27689152906"
    }
  ]
}