recommended_dose | R Documentation |
Get the dose recommended for the next patient or cohort in a dose-finding trial.
recommended_dose(x, ...)
## S3 method for class 'simulations'
recommended_dose(x, dose_string = FALSE, ...)
x |
Object of type |
... |
Extra args are passed onwards. |
dose_string |
TRUE to return vector of character dose-strings; FALSE (the default) to get a numerical vector of recommended dose-indices in monotherapy studies, or a matrix of recommended dose-indices in combination studies with the different treatments in columns and simulated outcomes in rows. |
integer
skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
model <- get_dfcrm(skeleton = skeleton, target = target)
fit <- model %>% fit('1NNN 2NTN')
fit %>% recommended_dose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.