Maximises the log-likelihood over the remaining free parameters on a
grid of fixed values of param, warm-starting each grid point from the
previous optimum.
Arguments
- fit
Output of
sird_ga_fit_inc().- cases, deaths
Data used for
fit.- param
Name of the profiled parameter (one of
fit$free).- grid
Values at which to profile.
- maxit
Nelder-Mead iteration limit per grid point.
