{
  "_id": "6a169380acfb0bcc41d7984f",
  "Package": "escalation",
  "Type": "Package",
  "Title": "A Modular Approach to Dose-Finding Clinical Trials",
  "Version": "0.2.3",
  "Date": "2025-10-08",
  "Authors@R": "c(\nperson(\"Kristian\", \"Brock\",\nemail = \"kristian.brock@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3921-0166\")\n),\nperson(\"Daniel\", \"Slade\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-6063-1283\")\n),\nperson(\"Michael\", \"Sweeting\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-0980-8965\")\n),\nperson(\"Conor\", \"Norris\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0009-0009-8850-0811\")\n),\nperson(\"Bharat\", \"Bhushan\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0009-0001-5271-7113\")\n)\n)",
  "Maintainer": "Kristian Brock <kristian.brock@gmail.com>",
  "Description": "Methods for working with dose-finding clinical trials. We\nprovide implementations of many dose-finding clinical trial\ndesigns, including the continual reassessment method (CRM) by\nO'Quigley et al. (1990) <doi:10.2307/2531628>, the toxicity\nprobability interval (TPI) design by Ji et al. (2007)\n<doi:10.1177/1740774507079442>, the modified TPI (mTPI) design\nby Ji et al. (2010) <doi:10.1177/1740774510382799>, the\nBayesian optimal interval design (BOIN) by Liu & Yuan (2015)\n<doi:10.1111/rssc.12089>, EffTox by Thall & Cook (2004)\n<doi:10.1111/j.0006-341X.2004.00218.x>; the design of Wages &\nTait (2015) <doi:10.1080/10543406.2014.920873>, and the 3+3\ndescribed by Korn et al. (1994) <doi:10.1002/sim.4780131802>.\nAll designs are implemented with a common interface. We also\noffer optional additional classes to tailor the behaviour of\nall designs, including avoiding skipping doses, stopping after\nn patients have been treated at the recommended dose, stopping\nwhen a toxicity condition is met, or demanding that n patients\nare treated before stopping is allowed. By daisy-chaining\ntogether these classes using the pipe operator from 'magrittr',\nit is simple to tailor the behaviour of a dose-finding design\nso it behaves how the trialist wants. Having provided a\nflexible interface for specifying designs, we then provide\nfunctions to run simulations and calculate dose-paths for\nfuture cohorts of patients.",
  "License": "GPL (>=3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://brockk.github.io/escalation/,\nhttps://github.com/brockk/escalation",
  "BugReports": "https://github.com/brockk/escalation/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev libx11-dev",
  "Repository": "https://brockk.r-universe.dev",
  "Date/Publication": "2025-10-08 13:39:24 UTC",
  "RemoteUrl": "https://github.com/brockk/escalation",
  "RemoteRef": "HEAD",
  "RemoteSha": "add4557aba9c0a124f1f27b4cef7202078b7540c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 06:38:50 UTC",
    "User": "root"
  },
  "Author": "Kristian Brock [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3921-0166>),\nDaniel Slade [aut] (ORCID: <https://orcid.org/0000-0001-6063-1283>),\nMichael Sweeting [aut] (ORCID: <https://orcid.org/0000-0003-0980-8965>),\nConor Norris [ctb] (ORCID: <https://orcid.org/0009-0009-8850-0811>),\nBharat Bhushan [ctb] (ORCID: <https://orcid.org/0009-0001-5271-7113>)",
  "MD5sum": "ad824a4955bafceae7c608b1402ee47c",
  "_user": "brockk",
  "_type": "src",
  "_file": "escalation_0.2.3.tar.gz",
  "_fileid": "d27379858be075af420309b0acfd9cd593fbc7deb6036ec0972d1a685a610fc9",
  "_filesize": 1688496,
  "_sha256": "d27379858be075af420309b0acfd9cd593fbc7deb6036ec0972d1a685a610fc9",
  "_created": "2026-05-27T06:38:50.000Z",
  "_published": "2026-05-27T06:47:28.864Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78021731808,
      "time": 442,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233690541"
    },
    {
      "job": 78021731812,
      "time": 429,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233687517"
    },
    {
      "job": 78021731841,
      "time": 264,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233640969"
    },
    {
      "job": 78021731921,
      "time": 281,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233644036"
    },
    {
      "job": 78020887079,
      "time": 395,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233575109"
    },
    {
      "job": 78021731795,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233614408"
    },
    {
      "job": 78021731855,
      "time": 461,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233695790"
    },
    {
      "job": 78021731828,
      "time": 464,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233696911"
    },
    {
      "job": 78021731806,
      "time": 454,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233694672"
    }
  ],
  "_buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/brockk/escalation",
  "_commit": {
    "id": "add4557aba9c0a124f1f27b4cef7202078b7540c",
    "author": "Kristian Brock <brockk@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update test-coverage.yaml",
    "time": 1759930764
  },
  "_maintainer": {
    "name": "Kristian Brock",
    "email": "kristian.brock@gmail.com",
    "login": "brockk",
    "description": "I am a clinical trial statistician, with a research focus on efficient methods for early phase trials, especially Bayesian methods. I write in R, Python & Stan.",
    "uuid": 10177935,
    "orcid": "0000-0002-3921-0166"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "magrittr",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "dfcrm",
      "role": "Imports"
    },
    {
      "package": "BOIN",
      "role": "Imports"
    },
    {
      "package": "trialr",
      "version": ">= 0.1.5",
      "role": "Imports"
    },
    {
      "package": "DiagrammeR",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "viridis",
      "role": "Imports"
    },
    {
      "package": "binom",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Iso",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "brockk",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 17,
  "_contributors": [
    {
      "user": "brockk",
      "count": 127,
      "uuid": 10177935
    },
    {
      "user": "dsladeaz",
      "count": 5,
      "uuid": 134501244
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 10177935,
    "type": "user",
    "name": "Kristian Brock",
    "description": "I am a clinical trial statistician, with a research focus on efficient methods for early phase trials, especially Bayesian methods. I write in R, Python & Stan."
  },
  "_downloads": {
    "count": 294,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/escalation"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/brockk/escalation",
  "_pkgdown": "https://brockk.github.io/escalation/",
  "_searchresults": 80,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/escalation.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/brockk/escalation",
  "_realowner": "brockk",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2020-03-08"
    },
    {
      "version": "0.1.2",
      "date": "2020-04-14"
    },
    {
      "version": "0.1.3",
      "date": "2020-05-13"
    },
    {
      "version": "0.1.4",
      "date": "2020-10-18"
    },
    {
      "version": "0.1.5",
      "date": "2023-05-29"
    },
    {
      "version": "0.1.8",
      "date": "2024-02-23"
    },
    {
      "version": "0.1.9",
      "date": "2024-05-22"
    },
    {
      "version": "0.1.10",
      "date": "2024-06-27"
    },
    {
      "version": "0.2.3",
      "date": "2025-10-08"
    }
  ],
  "_exports": [
    "boin12_rds",
    "calculate_probabilities",
    "check_dose_selector_consistency",
    "cohort",
    "cohorts_of_n",
    "continue",
    "convergence_plot",
    "CorrelatedPatientSample",
    "crystallised_dose_paths",
    "demand_n_at_dose",
    "dont_skip_doses",
    "dose_admissible",
    "dose_escalation_table",
    "dose_indices",
    "dose_paths",
    "dose_paths_function",
    "dose_string_to_vector",
    "dose_strings",
    "dose_vector_to_string",
    "doses_given",
    "eff",
    "eff_at_dose",
    "eff_limit",
    "empiric_eff_rate",
    "empiric_tox_rate",
    "enforce_three_plus_three",
    "expand_last_dose_to_cohort",
    "fit",
    "follow_path",
    "get_boin",
    "get_boin_comb",
    "get_boin12",
    "get_dfcrm",
    "get_dfcrm_tite",
    "get_dose_combo_indices",
    "get_dose_paths",
    "get_empiric_crm_skeleton_weights",
    "get_mtpi",
    "get_mtpi2",
    "get_potential_outcomes",
    "get_random_selector",
    "get_three_plus_three",
    "get_tpi",
    "get_trialr_crm",
    "get_trialr_crm_tite",
    "get_trialr_efftox",
    "get_trialr_nbg",
    "get_trialr_nbg_tite",
    "get_wages_and_tait",
    "graph_paths",
    "is_randomising",
    "linear_follow_up_weight",
    "mean_prob_eff",
    "mean_prob_tox",
    "median_prob_eff",
    "median_prob_tox",
    "model_frame",
    "n_at_dose",
    "n_at_recommended_dose",
    "num_cohort_outcomes",
    "num_dose_path_nodes",
    "num_doses",
    "num_eff",
    "num_patients",
    "num_tox",
    "parse_phase1_2_outcomes",
    "parse_phase1_outcomes",
    "PatientSample",
    "phase1_2_outcomes_to_cohorts",
    "phase1_outcomes_to_cohorts",
    "prob_administer",
    "prob_eff_exceeds",
    "prob_eff_quantile",
    "prob_eff_samples",
    "prob_recommend",
    "prob_tox_exceeds",
    "prob_tox_quantile",
    "prob_tox_samples",
    "recommended_dose",
    "select_boin_comb_mtd",
    "select_boin_mtd",
    "select_boin12_obd",
    "select_dose_by_cibp",
    "select_mtpi_mtd",
    "select_mtpi2_mtd",
    "select_tpi_mtd",
    "selector",
    "selector_factory",
    "simulate_compare",
    "simulate_trials",
    "simulation_function",
    "simulations",
    "simulations_collection",
    "spread_paths",
    "stack_sims_vert",
    "stick_on_num_tox",
    "stop_at_n",
    "stop_when_n_at_dose",
    "stop_when_too_toxic",
    "stop_when_tox_ci_covered",
    "supports_sampling",
    "three_plus_three",
    "tox",
    "tox_at_dose",
    "tox_limit",
    "tox_target",
    "trial_duration",
    "try_rescue_dose",
    "unadmit_untested",
    "utility",
    "weight"
  ],
  "_help": [
    {
      "page": "as_tibble.dose_paths",
      "title": "Cast 'dose_paths' object to 'tibble'.",
      "topics": [
        "as_tibble.dose_paths"
      ]
    },
    {
      "page": "as_tibble.selector",
      "title": "Cast 'dose_selector' object to 'tibble'.",
      "topics": [
        "as_tibble.selector"
      ]
    },
    {
      "page": "as_tibble.simulations_collection",
      "title": "Convert a simulations_collection to a tibble",
      "topics": [
        "as_tibble.simulations_collection"
      ]
    },
    {
      "page": "boin12_rds",
      "title": "Tabulate rank-based desirability scores for a BOIN12 trial",
      "topics": [
        "boin12_rds"
      ]
    },
    {
      "page": "calculate_probabilities",
      "title": "Calculate dose-path probabilities",
      "topics": [
        "calculate_probabilities"
      ]
    },
    {
      "page": "check_dose_selector_consistency",
      "title": "Check the consistency of a dose_selector instance",
      "topics": [
        "check_dose_selector_consistency"
      ]
    },
    {
      "page": "check_simulations_consistency",
      "title": "Check the consistency of a dose_selector instance",
      "topics": [
        "check_simulations_consistency"
      ]
    },
    {
      "page": "cohort",
      "title": "Cohort numbers of evaluated patients.",
      "topics": [
        "cohort"
      ]
    },
    {
      "page": "cohorts_of_n",
      "title": "Sample times between patient arrivals using the exponential distribution.",
      "topics": [
        "cohorts_of_n"
      ]
    },
    {
      "page": "combo_selector",
      "title": "Dose selector for combinations of treatments",
      "topics": [
        "combo_selector"
      ]
    },
    {
      "page": "continue",
      "title": "Should this dose-finding experiment continue?",
      "topics": [
        "continue"
      ]
    },
    {
      "page": "convergence_plot",
      "title": "Plot the convergence processes from a collection of simulations.",
      "topics": [
        "convergence_plot"
      ]
    },
    {
      "page": "CorrelatedPatientSample",
      "title": "A sample of patients that experience correlated events in simulations.",
      "topics": [
        "CorrelatedPatientSample"
      ]
    },
    {
      "page": "crystallised_dose_paths",
      "title": "Dose-paths with probabilities attached.",
      "topics": [
        "crystallised_dose_paths"
      ]
    },
    {
      "page": "demand_n_at_dose",
      "title": "Demand there are n patients at a dose before condisdering stopping.",
      "topics": [
        "demand_n_at_dose"
      ]
    },
    {
      "page": "dont_skip_doses",
      "title": "Prevent skipping of doses.",
      "topics": [
        "dont_skip_doses"
      ]
    },
    {
      "page": "dose_admissible",
      "title": "Is each dose admissible?",
      "topics": [
        "dose_admissible"
      ]
    },
    {
      "page": "dose_escalation_table",
      "title": "Plot a table of dose escalation vs de-escalation vs stop decisions",
      "topics": [
        "dose_escalation_table"
      ]
    },
    {
      "page": "dose_indices",
      "title": "Dose indices",
      "topics": [
        "dose_indices"
      ]
    },
    {
      "page": "dose_paths",
      "title": "Dose pathways",
      "topics": [
        "dose_paths"
      ]
    },
    {
      "page": "dose_paths_function",
      "title": "Get function for calculating dose pathways.",
      "topics": [
        "dose_paths_function"
      ]
    },
    {
      "page": "dose_string_to_vector",
      "title": "Go from a single multi-treatment dose string to a vector of dose-indices",
      "topics": [
        "dose_string_to_vector"
      ]
    },
    {
      "page": "dose_strings",
      "title": "Dose strings",
      "topics": [
        "dose_strings"
      ]
    },
    {
      "page": "dose_vector_to_string",
      "title": "Go from a single multi-treatment vector of dose-indices to a dose string",
      "topics": [
        "dose_vector_to_string"
      ]
    },
    {
      "page": "doses_given",
      "title": "Doses given to patients.",
      "topics": [
        "doses_given",
        "doses_given.boin_comb_selector",
        "doses_given.simulations"
      ]
    },
    {
      "page": "eff",
      "title": "Binary efficacy outcomes.",
      "topics": [
        "eff"
      ]
    },
    {
      "page": "eff_at_dose",
      "title": "Number of toxicities seen at each dose.",
      "topics": [
        "eff_at_dose"
      ]
    },
    {
      "page": "eff_limit",
      "title": "Efficacy rate limit",
      "topics": [
        "eff_limit"
      ]
    },
    {
      "page": "empiric_eff_rate",
      "title": "Observed efficacy rate at each dose.",
      "topics": [
        "empiric_eff_rate"
      ]
    },
    {
      "page": "empiric_tox_rate",
      "title": "Observed toxicity rate at each dose.",
      "topics": [
        "empiric_tox_rate"
      ]
    },
    {
      "page": "enforce_three_plus_three",
      "title": "Enforce that a trial path has followed the 3+3 method.",
      "topics": [
        "enforce_three_plus_three"
      ]
    },
    {
      "page": "expand_last_dose_to_cohort",
      "title": "Expand the cohort of the last given dose to at least n patients",
      "topics": [
        "expand_last_dose_to_cohort"
      ]
    },
    {
      "page": "fit",
      "title": "Fit a dose-finding model.",
      "topics": [
        "fit"
      ]
    },
    {
      "page": "follow_path",
      "title": "Follow a pre-determined dose administration path.",
      "topics": [
        "follow_path"
      ]
    },
    {
      "page": "get_boin",
      "title": "Get an object to fit the BOIN model using the BOIN package.",
      "topics": [
        "get_boin"
      ]
    },
    {
      "page": "get_boin_comb",
      "title": "Get an object to fit the BOIN COMB model using the BOIN package.",
      "topics": [
        "get_boin_comb"
      ]
    },
    {
      "page": "get_boin12",
      "title": "Get an object to fit the BOIN12 model for phase I/II dose-finding.",
      "topics": [
        "get_boin12"
      ]
    },
    {
      "page": "get_dfcrm",
      "title": "Get an object to fit the CRM model using the dfcrm package.",
      "topics": [
        "get_dfcrm"
      ]
    },
    {
      "page": "get_dfcrm_tite",
      "title": "Get an object to fit the TITE-CRM model using the dfcrm package.",
      "topics": [
        "get_dfcrm_tite"
      ]
    },
    {
      "page": "get_dose_combo_indices",
      "title": "Get all combinations of dose indices",
      "topics": [
        "get_dose_combo_indices"
      ]
    },
    {
      "page": "get_dose_paths",
      "title": "Calculate future dose paths.",
      "topics": [
        "get_dose_paths"
      ]
    },
    {
      "page": "get_empiric_crm_skeleton_weights",
      "title": "Get posterior model weights for several empiric CRM skeletons.",
      "topics": [
        "get_empiric_crm_skeleton_weights"
      ]
    },
    {
      "page": "get_mtpi",
      "title": "Get an object to fit the mTPI dose-finding model.",
      "topics": [
        "get_mtpi"
      ]
    },
    {
      "page": "get_mtpi2",
      "title": "Get an object to fit the mTPI-2 dose-finding model.",
      "topics": [
        "get_mtpi2"
      ]
    },
    {
      "page": "get_potential_outcomes",
      "title": "Get potential outcomes from a list of PatientSamples",
      "topics": [
        "get_potential_outcomes"
      ]
    },
    {
      "page": "get_random_selector",
      "title": "Get an object to fit a dose-selector that randomly selects doses.",
      "topics": [
        "get_random_selector"
      ]
    },
    {
      "page": "get_three_plus_three",
      "title": "Get an object to fit the 3+3 model.",
      "topics": [
        "get_three_plus_three"
      ]
    },
    {
      "page": "get_tpi",
      "title": "Get an object to fit the TPI dose-finding model.",
      "topics": [
        "get_tpi"
      ]
    },
    {
      "page": "get_trialr_crm",
      "title": "Get an object to fit the CRM model using the trialr package.",
      "topics": [
        "get_trialr_crm"
      ]
    },
    {
      "page": "get_trialr_crm_tite",
      "title": "Get an object to fit the TITE-CRM model using the trialr package.",
      "topics": [
        "get_trialr_crm_tite"
      ]
    },
    {
      "page": "get_trialr_efftox",
      "title": "Get an object to fit the EffTox model using the trialr package.",
      "topics": [
        "get_trialr_efftox"
      ]
    },
    {
      "page": "get_trialr_nbg",
      "title": "Get an object to fit the NBG dose-finding model using the trialr package.",
      "topics": [
        "get_trialr_nbg"
      ]
    },
    {
      "page": "get_trialr_nbg_tite",
      "title": "Get an object to fit a TITE version of the NBG dose-finding model using trialr",
      "topics": [
        "get_trialr_nbg_tite"
      ]
    },
    {
      "page": "get_wages_and_tait",
      "title": "Get an object to fit Wages & Tait's model for phase I/II dose-finding.",
      "topics": [
        "get_wages_and_tait"
      ]
    },
    {
      "page": "graph_paths",
      "title": "Visualise dose-paths as a graph",
      "topics": [
        "graph_paths"
      ]
    },
    {
      "page": "is_randomising",
      "title": "Is this selector currently randomly allocating doses?",
      "topics": [
        "is_randomising"
      ]
    },
    {
      "page": "linear_follow_up_weight",
      "title": "Weights for tolerance and toxicity events using linear function of time",
      "topics": [
        "linear_follow_up_weight"
      ]
    },
    {
      "page": "mean_prob_eff",
      "title": "Mean efficacy rate at each dose.",
      "topics": [
        "mean_prob_eff"
      ]
    },
    {
      "page": "mean_prob_tox",
      "title": "Mean toxicity rate at each dose.",
      "topics": [
        "mean_prob_tox"
      ]
    },
    {
      "page": "median_prob_eff",
      "title": "Median efficacy rate at each dose.",
      "topics": [
        "median_prob_eff"
      ]
    },
    {
      "page": "median_prob_tox",
      "title": "Median toxicity rate at each dose.",
      "topics": [
        "median_prob_tox",
        "median_prob_tox.boin_comb_selector"
      ]
    },
    {
      "page": "model_frame",
      "title": "Model data-frame.",
      "topics": [
        "model_frame"
      ]
    },
    {
      "page": "n_at_dose",
      "title": "Number of patients treated at each dose.",
      "topics": [
        "n_at_dose"
      ]
    },
    {
      "page": "n_at_recommended_dose",
      "title": "Number of patients treated at the recommended dose.",
      "topics": [
        "n_at_recommended_dose"
      ]
    },
    {
      "page": "num_cohort_outcomes",
      "title": "Number of different possible outcomes for a cohort of patients",
      "topics": [
        "num_cohort_outcomes"
      ]
    },
    {
      "page": "num_dose_path_nodes",
      "title": "Number of nodes in dose-paths analysis",
      "topics": [
        "num_dose_path_nodes"
      ]
    },
    {
      "page": "num_doses",
      "title": "Number of doses.",
      "topics": [
        "num_doses"
      ]
    },
    {
      "page": "num_eff",
      "title": "Total number of efficacies seen.",
      "topics": [
        "num_eff"
      ]
    },
    {
      "page": "num_patients",
      "title": "Number of patients evaluated.",
      "topics": [
        "num_patients"
      ]
    },
    {
      "page": "num_tox",
      "title": "Total number of toxicities seen.",
      "topics": [
        "num_tox"
      ]
    },
    {
      "page": "parse_phase1_2_outcomes",
      "title": "Parse a string of phase I/II dose-finding outcomes to vector notation.",
      "topics": [
        "parse_phase1_2_outcomes"
      ]
    },
    {
      "page": "parse_phase1_outcomes",
      "title": "Parse a string of phase I dose-finding outcomes to vector notation.",
      "topics": [
        "parse_phase1_outcomes"
      ]
    },
    {
      "page": "PatientSample",
      "title": "A sample of patients to use in simulations.",
      "topics": [
        "PatientSample"
      ]
    },
    {
      "page": "phase1_2_outcomes_to_cohorts",
      "title": "Break a phase I/II outcome string into a list of cohort parts.",
      "topics": [
        "phase1_2_outcomes_to_cohorts"
      ]
    },
    {
      "page": "phase1_outcomes_to_cohorts",
      "title": "Break a phase I outcome string into a list of cohort parts.",
      "topics": [
        "phase1_outcomes_to_cohorts"
      ]
    },
    {
      "page": "prob_administer",
      "title": "Percentage of patients treated at each dose.",
      "topics": [
        "prob_administer"
      ]
    },
    {
      "page": "prob_eff_quantile",
      "title": "Quantile of the efficacy rate at each dose.",
      "topics": [
        "prob_eff_quantile"
      ]
    },
    {
      "page": "prob_recommend",
      "title": "Probability of recommendation",
      "topics": [
        "prob_recommend"
      ]
    },
    {
      "page": "prob_tox_exceeds",
      "title": "Probability that the toxicity rate exceeds some threshold.",
      "topics": [
        "prob_eff_exceeds",
        "prob_tox_exceeds",
        "prob_tox_exceeds.boin_comb_selector"
      ]
    },
    {
      "page": "prob_tox_quantile",
      "title": "Quantile of the toxicity rate at each dose.",
      "topics": [
        "prob_tox_quantile",
        "prob_tox_quantile.boin_comb_selector"
      ]
    },
    {
      "page": "prob_tox_samples",
      "title": "Get samples of the probability of toxicity.",
      "topics": [
        "prob_eff_samples",
        "prob_tox_samples"
      ]
    },
    {
      "page": "recommended_dose",
      "title": "Recommended dose for next patient or cohort.",
      "topics": [
        "recommended_dose",
        "recommended_dose.simulations"
      ]
    },
    {
      "page": "select_boin_comb_mtd",
      "title": "Select dose by BOIN-COMB's MTD-choosing algorithm.",
      "topics": [
        "select_boin_comb_mtd"
      ]
    },
    {
      "page": "select_boin_mtd",
      "title": "Select dose by BOIN's MTD-choosing algorithm.",
      "topics": [
        "select_boin_mtd"
      ]
    },
    {
      "page": "select_boin12_obd",
      "title": "Select dose by BOIN12's OBD-choosing algorithm.",
      "topics": [
        "select_boin12_obd"
      ]
    },
    {
      "page": "select_dose_by_cibp",
      "title": "Select dose by the CIBP selection criterion.",
      "topics": [
        "select_dose_by_cibp"
      ]
    },
    {
      "page": "select_mtpi_mtd",
      "title": "Select dose by mTPI's MTD-choosing algorithm.",
      "topics": [
        "select_mtpi_mtd"
      ]
    },
    {
      "page": "select_mtpi2_mtd",
      "title": "Select dose by mTPI2's MTD-choosing algorithm.",
      "topics": [
        "select_mtpi2_mtd"
      ]
    },
    {
      "page": "select_tpi_mtd",
      "title": "Select dose by TPI's MTD-choosing algorithm.",
      "topics": [
        "select_tpi_mtd"
      ]
    },
    {
      "page": "selector",
      "title": "Dose selector.",
      "topics": [
        "selector"
      ]
    },
    {
      "page": "selector_factory",
      "title": "Dose selector factory.",
      "topics": [
        "selector_factory"
      ]
    },
    {
      "page": "simulate_compare",
      "title": "Simulate clinical trials for several designs using common patients.",
      "topics": [
        "simulate_compare"
      ]
    },
    {
      "page": "simulate_trials",
      "title": "Simulate clinical trials.",
      "topics": [
        "simulate_trials"
      ]
    },
    {
      "page": "simulation_function",
      "title": "Get function for simulating trials.",
      "topics": [
        "simulation_function"
      ]
    },
    {
      "page": "simulations",
      "title": "Simulated trials.",
      "topics": [
        "simulations"
      ]
    },
    {
      "page": "simulations_collection",
      "title": "Make an instance of type 'simulations_collection'",
      "topics": [
        "simulations_collection"
      ]
    },
    {
      "page": "spread_paths",
      "title": "Spread the information in dose_finding_paths object to a wide data.frame format.",
      "topics": [
        "spread_paths"
      ]
    },
    {
      "page": "stack_sims_vert",
      "title": "Stack 'simulations_collection' results vertically",
      "topics": [
        "stack_sims_vert"
      ]
    },
    {
      "page": "stick_on_num_tox",
      "title": "Stay at the current dose when num_tox of num_patients have experienced tox",
      "topics": [
        "stick_on_num_tox"
      ]
    },
    {
      "page": "stop_at_n",
      "title": "Stop when there are n patients in total.",
      "topics": [
        "stop_at_n"
      ]
    },
    {
      "page": "stop_when_n_at_dose",
      "title": "Stop when there are n patients at a dose.",
      "topics": [
        "stop_when_n_at_dose"
      ]
    },
    {
      "page": "stop_when_too_toxic",
      "title": "Stop trial and recommend no dose when a dose is too toxic.",
      "topics": [
        "stop_when_too_toxic"
      ]
    },
    {
      "page": "stop_when_tox_ci_covered",
      "title": "Stop when uncertainty interval of prob tox is covered.",
      "topics": [
        "stop_when_tox_ci_covered"
      ]
    },
    {
      "page": "supports_sampling",
      "title": "Does this selector support sampling of outcomes?",
      "topics": [
        "supports_sampling"
      ]
    },
    {
      "page": "three_plus_three",
      "title": "Fit the 3+3 model to some outcomes.",
      "topics": [
        "three_plus_three"
      ]
    },
    {
      "page": "tox",
      "title": "Binary toxicity outcomes.",
      "topics": [
        "tox"
      ]
    },
    {
      "page": "tox_at_dose",
      "title": "Number of toxicities seen at each dose.",
      "topics": [
        "tox_at_dose"
      ]
    },
    {
      "page": "tox_limit",
      "title": "Toxicity rate limit",
      "topics": [
        "tox_limit"
      ]
    },
    {
      "page": "tox_target",
      "title": "Target toxicity rate",
      "topics": [
        "tox_target"
      ]
    },
    {
      "page": "trial_duration",
      "title": "Duration of trials.",
      "topics": [
        "trial_duration"
      ]
    },
    {
      "page": "try_rescue_dose",
      "title": "Demand that a rescue dose is tried before stopping is permitted.",
      "topics": [
        "try_rescue_dose"
      ]
    },
    {
      "page": "unadmit_untested",
      "title": "Make untested and unrecommended doses inadmissible.",
      "topics": [
        "unadmit_untested"
      ]
    },
    {
      "page": "utility",
      "title": "Utility score of each dose.",
      "topics": [
        "utility"
      ]
    },
    {
      "page": "weight",
      "title": "Outcome weights.",
      "topics": [
        "weight"
      ]
    }
  ],
  "_pkglogo": "https://github.com/brockk/escalation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/brockk/escalation/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "base64enc",
    "BH",
    "binom",
    "bit",
    "bit64",
    "BOIN",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "clipr",
    "coda",
    "cpp11",
    "crayon",
    "desc",
    "dfcrm",
    "DiagrammeR",
    "diffobj",
    "digest",
    "distributional",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "gtools",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "inline",
    "Iso",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "mvtnorm",
    "numDeriv",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "posterior",
    "praise",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "quadprog",
    "QuickJSR",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "rlang",
    "rmarkdown",
    "rprojroot",
    "rstan",
    "rstantools",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "svUnit",
    "tensorA",
    "testthat",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "tinytex",
    "trialr",
    "tzdb",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "visNetwork",
    "vroom",
    "waldo",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "A230-BOIN.Rmd",
      "filename": "A230-BOIN.html",
      "title": "BOIN - Bayesian Optimal Interval Design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Summary of the BOIN Design",
        "Implementation in escalation",
        "Final dose selection",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 13:17:25",
      "commits": 6
    },
    {
      "source": "A360-Combinations.Rmd",
      "filename": "A360-Combinations.html",
      "title": "BOIN-COMB - Treatment Combination Designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Outcome nomenclature",
        "BOIN-COMB",
        "Implementation in escalation",
        "Final dose selection",
        "Combination with other dose selectors",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2025-03-24 12:52:49",
      "modified": "2025-03-24 13:17:25",
      "commits": 2
    },
    {
      "source": "A710-SimulationComparison.Rmd",
      "filename": "A710-SimulationComparison.html",
      "title": "Comparing dose-escalation designs by simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Comparing competing designs",
        "Working with PatientSamples",
        "Exporting the underlying latent variables",
        "Calculating potential outcomes",
        "Importing the underlying latent variables",
        "Correlated toxicity and efficacy outcomes",
        "Further refinements",
        "References"
      ],
      "created": "2024-01-04 16:04:33",
      "modified": "2024-05-15 10:04:29",
      "commits": 3
    },
    {
      "source": "A205-CRM.Rmd",
      "filename": "A205-CRM.html",
      "title": "CRM - Continual Reassessment Method",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Summary of the CRM Design",
        "Hyperbolic tangent model",
        "Empiric model (aka power model)",
        "One-parameter logistic model",
        "Two-parameter logistic model",
        "Priors",
        "Toxicity skeletons and standardised doses",
        "Implementation in escalation",
        "dfcrm",
        "trialr",
        "dfcrm vs trialr",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 13:17:25",
      "commits": 4
    },
    {
      "source": "A310-EfficacyToxicity.Rmd",
      "filename": "A310-EfficacyToxicity.html",
      "title": "EffTox, Wages & Tait, and BOIN12 - Efficacy & Toxicity Designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Outcome nomenclature",
        "EffTox",
        "Wages & Tait",
        "BOIN12",
        "Implementation in escalation",
        "Final dose selection",
        "RDS tabulation",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2025-03-24 12:52:49",
      "modified": "2025-03-28 15:34:49",
      "commits": 3
    },
    {
      "source": "A220-mTPI.Rmd",
      "filename": "A220-mTPI.html",
      "title": "mTPI - Modified Toxicity Probability Interval Design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Summary of the mTPI Design",
        "Implementation in escalation",
        "Final dose selection",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 13:17:25",
      "commits": 6
    },
    {
      "source": "A207-NBG.Rmd",
      "filename": "A207-NBG.html",
      "title": "NBG - Neuenschwander, Branson & Gsponer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary of the design",
        "Implementation in escalation",
        "Future work",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 13:17:25",
      "commits": 4
    },
    {
      "source": "A700-Simulation.Rmd",
      "filename": "A700-Simulation.html",
      "title": "Simulating dose-escalation trials",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simulating trials in escalation",
        "The simplest example",
        "A more complex example",
        "Further refinements",
        "Cohort size",
        "Sampling the conclusion of partly-observed trials",
        "Next dose",
        "All model fits",
        "Big trials",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2024-02-23 17:36:05",
      "commits": 4
    },
    {
      "source": "A280-TITE.Rmd",
      "filename": "A280-TITE.html",
      "title": "TITE-CRM and TITE-NBG - Time-to-Event Designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "TITE-CRM",
        "TITE-NBG",
        "Implementation in escalation",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2025-03-24 12:52:49",
      "modified": "2025-03-24 13:17:25",
      "commits": 2
    },
    {
      "source": "A210-TPI.Rmd",
      "filename": "A210-TPI.html",
      "title": "TPI - Toxicity Probability Interval Design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Summary of the TPI Design",
        "Implementation in escalation",
        "Final dose selection",
        "Dose paths",
        "Simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 13:17:25",
      "commits": 5
    },
    {
      "source": "A100-DoseSelectors.Rmd",
      "filename": "A100-DoseSelectors.html",
      "title": "Using escalation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Supported Interface"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2025-03-24 12:52:49",
      "commits": 2
    },
    {
      "source": "A600-DosePaths.Rmd",
      "filename": "A600-DosePaths.html",
      "title": "Working with dose-paths",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Other Models",
        "CRM",
        "BOIN",
        "Further options",
        "Non-uniform cohorts",
        "Partially completed trials",
        "Next dose",
        "Crystallised dose-paths",
        "Dose-paths vs simulation",
        "References"
      ],
      "created": "2020-10-11 13:10:13",
      "modified": "2020-10-11 13:10:13",
      "commits": 1
    }
  ],
  "_score": 7.212720154417843,
  "_indexed": true,
  "_nocasepkg": "escalation",
  "_universes": [
    "brockk"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-27T06:42:14.000Z",
      "distro": "noble",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "9723aac169c17540d1bf758497de3e70955da614b9d489d2339d76bdb3346f74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:53.000Z",
      "distro": "noble",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "498efb481819fe43a92bed0bba72102177c3b0288bcd99cd791a6563fb6eb7d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:10.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "71e4eee85c47fa52b759e8c5581fce1caca6be101f83da885bd89a84878168ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:01.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "777cdda7a3ef740a327defc11636bd4dbaa6c721d48a638b5046c027610f2e8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:52.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "b0b88724a85861a17cf812c98720faccda69e0675359705b5009c41a77cd95d7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:46.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "c3dbdecd8ffbfab67395939a292c5cbcae59c6234e0231de4ff989b62d538a67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-27T06:41:03.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "fb66b7133bd71fa58b1473b7941e0aeb28fc17dc6a4fdd527b2d34c817d9162b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-27T06:40:49.000Z",
      "commit": "add4557aba9c0a124f1f27b4cef7202078b7540c",
      "fileid": "3cdf1cbc3976a16cf486fc40f0c0a72086a3554987beb3d09490499d9aa5aa24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brockk/actions/runs/26494950176"
    }
  ]
}