{
  "_id": "6aca4c58fe5cc25786e86cd8",
  "Package": "baymedr",
  "Title": "Computation of Bayes Factors for Common Biomedical Designs",
  "Version": "0.2",
  "Date": "2026-05-04",
  "Authors@R": "c(\nperson(given = \"Maximilian\",\nfamily = \"Linde\",\nrole = c(\"aut\", \"cre\"),\nemail = \"maximilian.linde.92@gmail.com\",\ncomment = c(ORCID = \"0000-0001-8421-090X\")),\nperson(given = \"Don\",\nfamily = \"van Ravenzwaaij\",\nrole= \"aut\",\nemail = \"d.van.ravenzwaaij@rug.nl\",\ncomment = c(ORCID = \"0000-0002-5030-4091\")),\nperson(given = \"Jorge N.\",\nfamily = \"Tendeiro\",\nrole = \"aut\",\nemail = \"tendeiro@hiroshima-u.ac.jp\",\ncomment = c(ORCID = \"0000-0003-1660-3642\")),\nperson(given = \"Quentin F.\",\nfamily = \"Gronau\",\nrole = \"ctb\",\nemail = \"q.f.gronau@uva.nl\",\ncomment = c(ORCID = \"0000-0001-5510-6943\")))",
  "Description": "BAYesian inference for MEDical designs in R. Functions for\nthe computation of Bayes factors for common biomedical research\ndesigns. Implemented are functions to test the equivalence\n(equiv_bf), non-inferiority (infer_bf), and superiority\n(super_bf) of an experimental group compared to a control group\non a continuous outcome measure, as well as functions for\nsimulating survival data and calculating a Bayes factor for Cox\nproportional hazards models. Bayes factors for these tests can\nbe computed based on raw data or summary statistics.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "URL": "https://github.com/maxlinde/baymedr",
  "BugReports": "https://github.com/maxlinde/baymedr/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://maxlinde.r-universe.dev",
  "Date/Publication": "2026-05-04 14:22:41 UTC",
  "RemoteUrl": "https://github.com/maxlinde/baymedr",
  "RemoteRef": "HEAD",
  "RemoteSha": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 14:08:50 UTC",
    "User": "root"
  },
  "Author": "Maximilian Linde [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-8421-090X>),\nDon van Ravenzwaaij [aut] (ORCID:\n<https://orcid.org/0000-0002-5030-4091>),\nJorge N. Tendeiro [aut] (ORCID:\n<https://orcid.org/0000-0003-1660-3642>),\nQuentin F. Gronau [ctb] (ORCID:\n<https://orcid.org/0000-0001-5510-6943>)",
  "Maintainer": "Maximilian Linde <maximilian.linde.92@gmail.com>",
  "_user": "maxlinde",
  "_type": "src",
  "_file": "baymedr_0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/a238d23c3fec51cde89a93a3bea8efc49697d40198309df277616153e07f48f9",
  "_filesize": 171196,
  "_sha256": "a238d23c3fec51cde89a93a3bea8efc49697d40198309df277616153e07f48f9",
  "_expires": "2027-01-18T14:31:51.000Z",
  "_created": "2026-10-10T14:08:50.000Z",
  "_published": "2026-10-10T14:31:52.771Z",
  "_buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114231716059,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11672545768"
    },
    {
      "job": 114231716021,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672620592"
    },
    {
      "job": 114231715998,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11673240204"
    },
    {
      "job": 114231716032,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672367939"
    },
    {
      "job": 114231160771,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672610262"
    },
    {
      "job": 114231716067,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671333987"
    },
    {
      "job": 114231715999,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671144042"
    },
    {
      "job": 114231716053,
      "time": 120,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11670954374"
    },
    {
      "job": 114231716113,
      "time": 140,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671304173"
    }
  ],
  "_upstream": "https://github.com/maxlinde/baymedr",
  "_commit": {
    "id": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
    "author": "maxlinde <maximilian.linde.92@gmail.com>",
    "committer": "maxlinde <maximilian.linde.92@gmail.com>",
    "message": "Fix typo.\n",
    "time": 1777904561
  },
  "_maintainer": {
    "name": "Maximilian Linde",
    "email": "maximilian.linde.92@gmail.com",
    "login": "maxlinde",
    "linkedin": "in/maximilian-linde",
    "description": "",
    "uuid": 45145530,
    "orcid": "0000-0001-8421-090X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pso",
      "role": "Imports"
    },
    {
      "package": "rms",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "maxlinde",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-04"
    }
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "maxlinde",
      "count": 366,
      "uuid": 45145530
    }
  ],
  "_userbio": {
    "uuid": 45145530,
    "type": "user",
    "name": "Maximilian Linde",
    "followers": 17
  },
  "_downloads": {
    "count": 484,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/baymedr"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/maxlinde/baymedr",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/baymedr.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"
  ],
  "_homeurl": "https://github.com/maxlinde/baymedr",
  "_realowner": "maxlinde",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-10-21"
    },
    {
      "version": "0.1.1",
      "date": "2021-03-28"
    },
    {
      "version": "0.2",
      "date": "2026-05-11"
    }
  ],
  "_exports": [
    "coxph_bf",
    "coxph_data_sim",
    "equiv_bf",
    "get_bf",
    "infer_bf",
    "super_bf"
  ],
  "_help": [
    {
      "page": "baymedr-package",
      "title": "baymedr: Computation of Bayes Factors for Common Biomedical Designs",
      "topics": [
        "baymedr-package",
        "baymedr"
      ]
    },
    {
      "page": "coxph_bf",
      "title": "Bayes factor for Cox proportional hazards regression",
      "topics": [
        "coxph_bf"
      ]
    },
    {
      "page": "coxph_data_sim",
      "title": "Simulate data for Cox proportional hazards regression",
      "topics": [
        "coxph_data_sim"
      ]
    },
    {
      "page": "equiv_bf",
      "title": "Bayes factor for equivalence designs",
      "topics": [
        "equiv_bf"
      ]
    },
    {
      "page": "get_bf",
      "title": "Extract Bayes factor from S4 object",
      "topics": [
        "get_bf"
      ]
    },
    {
      "page": "infer_bf",
      "title": "Bayes factor for non-inferiority designs",
      "topics": [
        "infer_bf"
      ]
    },
    {
      "page": "model-classes",
      "title": "S4 classes to represent different models",
      "topics": [
        "baymedrCoxProportionalHazards-class",
        "baymedrCoxProportionalHazardsMulti-class",
        "baymedrEquivalence-class",
        "baymedrNonInferiority-class",
        "baymedrSuperiority-class",
        "model-classes"
      ]
    },
    {
      "page": "super_bf",
      "title": "Bayes factor for superiority designs",
      "topics": [
        "super_bf"
      ]
    }
  ],
  "_readme": "https://github.com/maxlinde/baymedr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "doParallel",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mime",
    "multcomp",
    "mvtnorm",
    "nlme",
    "nnet",
    "polspline",
    "pso",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "TH.data",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 4.204119982655924,
  "_indexed": true,
  "_nocasepkg": "baymedr",
  "_universes": [
    "maxlinde"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-10T14:11:12.000Z",
      "distro": "resolute",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/008eb954a260642b3eb7dc941cc2d56f6dcbf9fc22f58b18d3024186b8b8414c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2",
      "date": "2026-10-10T14:11:16.000Z",
      "distro": "resolute",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/24201712cc8f21a649143805af9f4b81eb3566ddadca2905b81cfadd0da16154",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-10T14:28:12.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/5cdcc831ea8dc185fc994de282c79449065c583a37d11c13bee4084dfdeabf1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2",
      "date": "2026-10-10T14:29:38.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/1c63b5f2b621dd0d523ee4f31b75691689d0b3d4cab2a2805e46b4b0e3154144",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2",
      "date": "2026-10-10T14:11:06.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/f256723b5ea5f0f4eef916c54523667581f81361f5b62def9855bced364b39da",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-10T14:10:28.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/8ff95153fd2f62032e97925e71b0dd9c5cd41c54a823c720bbb96958add5c80a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-10T14:10:14.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/92de7c2e346499878e79484e3056d51ae795eb9695781caecde22e36c53a1eb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2",
      "date": "2026-10-10T14:10:31.000Z",
      "commit": "86f896485e56c868678a87b3ac5f85f1fb2dcc99",
      "fileid": "https://r2.ropensci.org/b050cff52a55f791e08e80262c3309a561d22eb277429f440dad9d35dbdad78f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/maxlinde/actions/runs/38058273882"
    }
  ]
}