supports_sampling | R Documentation |
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.
supports_sampling(x, ...)
x |
Object of type |
... |
arguments passed to other methods |
logical
# 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.