x0.x0
as the name. It would have x0
and this would cause a fail of the check that the parvec names match what MARSSvectorizeparams()
expects.MARSS_TMB.R
that would not add one the obj when control$trace = 2.marss2.hpp
and estimate_marss2.R
. These use the chol() of the var-cov matrices and don't split into diag and corrmat. Seems more stable.Created a development version of {MARSS} with method TMB. marssTMB()
will recognize if it was called with MARSS()
. MARSS_tmb()
also still works.
marss.hpp
, a major update for MARSS models in vectorized "marss" form. This will allow time-varying parameters more easily and models with linear constraints. It's companion function is estimate_marss.R
.MARSStmb.R
to estimate_marxss.R
. It will become an internal function later.inst/include/LOM.hpp
zzz.R
and .onLoad()
to deal with users getting warnings about TMB/Matrix version mismatch and not knowing what to do. https://glmmtmb.github.io/glmmTMB/#glmmtmbtmbmatrix-mismatchesmarxss.hpp
to be in MARSS format with X and Y as mxT and nxT.marxss.hpp
. Minimal testing so far.to_marssTMB()
(not needed)MARSStmb()
so that the marssMLE object is in proper form. All the {MARSS} helper functions should work.MARSStmb()
mostly working with marssMLE structure for outputmarssTMB-package.R
MARSStmb()
descriptionMARSS_tmb()
to_marssMLE()
which will convert the output to MARSS form.To do
is.diag
flag to data if I need to id if R (and later Q) is diagonal to use faster code (diagonal matrices). probably not needed?MARSS_tmb()
. This sets up the model for MARSStmb()
and for now ensures that the model will work with marxss.hpp
which only allows DFA at the moment.MARSStmb()
. This is symmetric to MARSS::MARSSoptim()
. Working to match the output to MARSS::MARSS()
so that all the MARSS functions work.src/TMB/marxss.hpp
which is the MARSS model version with MARSS parameter names.To do
MARSStmb()
just fits a model. Next up is to convert this to MARSS output format. Done 0.0.5The first draft with the TMB package structure in place. Used the {TMBtools} package to set-up the R package to work with TMB.
dfaTMB()
and uniTMB()
which I will likely combine later.