fit: Fit a dose-finding model.

View source: R/interface.R

fitR Documentation

Fit a dose-finding model.

Description

Fit a dose-finding model to some outcomes.

Usage

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.

See Also

selector, selector_factory

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

escalation documentation built on June 27, 2024, 5:09 p.m.