Fit a dose-finding model to some outcomes.

fit(selector_factory, outcomes, ...)

Arguments

selector_factory

Object of type selector_factory.

outcomes

Outcome string. See parse_phase1_outcomes.

...

Extra args are passed onwards.

Value

Object of generic type selector.

Examples

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
#> [1] 2