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

supports_sampling

Does this selector support sampling of outcomes?


Description

Learn whether this selector supports sampling of outcomes. For instance, is it possible to get posterior samples of the probability of toxicity at each dose? If true, prob_tox_samples will return a data-frame of samples.

Usage

supports_sampling(x, ...)

Arguments

x

Object of type selector

...

arguments passed to other methods

Value

logical

Examples

# CRM example
skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
outcomes <- '1NNN 2NTN'
fit <- get_dfcrm(skeleton = skeleton, target = target) %>% fit(outcomes)
fit %>% supports_sampling()

escalation

Modular Approach to Dose Finding Clinical Trials

v0.1.4
GPL (>= 3)
Authors
Kristian Brock [aut, cre] (<https://orcid.org/0000-0002-3921-0166>)
Initial release
2020-10-16

We don't support your browser anymore

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