Usage
refit_multiple_optimizers(fit, ..., control = mmrm_control(...))
Arguments
- fit
(
mmrm_fit
)
original model fit fromfit_single_optimizer()
.- ...
Additional arguments passed to
mmrm_control()
.- control
(
mmrm_control
)
object.
Examples
fit <- fit_single_optimizer(
formula = FEV1 ~ RACE + SEX + ARMCD * AVISIT + us(AVISIT | USUBJID),
data = fev_data,
weights = rep(1, nrow(fev_data)),
optimizer = "nlminb"
)
best_fit <- refit_multiple_optimizers(fit)