Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.blrm_trial

Summarise trial


Description

Provides model summaries for blrm_trial analyses.

Usage

## S3 method for class 'blrm_trial'
summary(
  object,
  summarize = c("blrmfit", "blrm_exnex_call", "data", "drug_info", "dose_info",
    "dose_prediction", "data_prediction", "newdata_prediction", "dimensionality",
    "interval_prob", "interval_max_mass"),
  ...
)

Arguments

object

blrm_trial object

summarize

one of the following options:

  • blrmfit: summary of the underlying blrmfit object with further arguments ...

  • blrm_exnex_call: blrm_exnex call used to create the blrmfit object

  • drug_info: drug_info for the trial, contains drugs, reference doses and units

  • dose_info: dose_info that were defined

  • dose_prediction prediction for the defined dose_info

  • data: data that were observed

  • data_prediction: prediction for the observed data

  • newdata_prediction: prediction for data provided with the newdata= argument

  • dimensionality: numeric vector with entries "num_components", "num_interaction_terms", "num_groups", "num_strata"

  • interval_prob: interval probabilities reported in the standard outputs

  • interval_max_mass: named vector defining for each interval of the interval_prob vector a maxmimal admissable probability mass for a given dose level

...

further arguments for summary.blrmfit

Examples

## Setting up dummy sampling for fast execution of example
## Please use 4 chains and 100x more warmup & iter in practice
.user_mc_options <- options(OncoBayes2.MC.warmup=10, OncoBayes2.MC.iter=20, OncoBayes2.MC.chains=1)

# construct initial blrm_trial object from built-in example datasets
combo2_trial_setup <- blrm_trial(
  data = hist_combo2,
  dose_info = dose_info_combo2,
  drug_info = drug_info_combo2,
  simplified_prior = TRUE
)

# extract blrm_call to see setup of the prior as passed to blrm_exnex
summary(combo2_trial_setup, "blrm_exnex_call")

## Recover user set sampling defaults
options(.user_mc_options)

OncoBayes2

Bayesian Logistic Regression for Oncology Dose-Escalation Trials

v0.7-0
GPL (>= 3)
Authors
Novartis Pharma AG [cph], Sebastian Weber [aut, cre], Lukas A. Widmer [aut], Andrew Bean [aut], Trustees of Columbia University [cph] (R/stanmodels.R, configure, configure.win)
Initial release
2021-05-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.