refit_multiple_optimizers {mmrm} | R Documentation |
Refitting MMRM with Multiple Optimizers
Description
Usage
refit_multiple_optimizers(fit, ..., control = mmrm_control(...))
Arguments
fit |
( |
... |
Additional arguments passed to |
control |
( |
Value
The best (in terms of log likelihood) fit which converged.
Note
For Windows, no parallel computations are currently implemented.
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)
[Package mmrm version 0.3.12 Index]