Open dwinter opened 9 years ago
It might make the code easier maintain if we wrap optim or stats4::mle with a generic fitting function designed to meet our models.
optim
stats4::mle
Doing so we could create named-arguments for each model arg and write acessors for the returned fit to allow inspection/plotting
I've started this on the branch 'fitting'. The basic plan is to have a closure that wraps optimx.
optimx
It might make the code easier maintain if we wrap
optim
orstats4::mle
with a generic fitting function designed to meet our models.Doing so we could create named-arguments for each model arg and write acessors for the returned fit to allow inspection/plotting