pbs-assess / sdmTMB

:earth_americas: An R package for spatial and spatiotemporal GLMMs with TMB
https://pbs-assess.github.io/sdmTMB/
183 stars 26 forks source link

Add ability to predict with new levels and random intercepts #196

Open seananderson opened 1 year ago

seananderson commented 1 year ago

See glmmTMB's allow.new.levels argument. It should just be a matter of figuring out the additional indexes and then not adding in any random intercept for those cases. Could be helpful for @CamFreshwater