fit | R Documentation |
Fit a dose-finding model to some outcomes.
fit(selector_factory, outcomes, ...)
selector_factory |
Object of type |
outcomes |
Outcome string. See |
... |
Extra args are passed onwards. |
Object of generic type selector
.
selector
, selector_factory
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() # Etc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.