crm_process: Process RStan samples from a CRM model.

View source: R/crm_process.R

crm_processR Documentation

Process RStan samples from a CRM model.

Description

Internal function to process rstan samples from a CRM model to make inferences about dose-toxicity and which dose should be recommended next. Typically, this function is not required to be called explicitly by the user because stan_crm will call it implicitly.

Usage

crm_process(dat, fit)

Arguments

dat

An instance of crm_params, a list of CRM parameters.

fit

An instance of rstan::stanmodel, derived by fitting one of the trialr CRM models.

Value

An instance of crm_fit.


trialr documentation built on April 1, 2023, 12:03 a.m.