atsa-es / marssTMB

Companion package for MARSS that allows you to use TMB to fit MARSS models
https://atsa-es.github.io/marssTMB/
1 stars 0 forks source link

to do #4

Open eeholmes opened 1 year ago

eeholmes commented 1 year ago

LATER

MARSS

ericward-noaa commented 1 year ago

Also -- at some point, change the parameter matrices to arrays to allow them to be time-varying like MARSS? Or add that on later?

eeholmes commented 1 year ago

@ericward-noaa I think I got the time-varying code working. All models that can be fit with BFGS should be able to be fit now with TMB. Will need latest marssTMB installed but after just call MARSS(..., method="TMB") use BFGS_TMB to use optim() instead of nlminb().