Closed ericward-noaa closed 1 year ago
Did you end up doing this, or decide not to?
I think decide not to since it's relatively easy to with the existing function and it would add complexity. Here's an example:
https://github.com/pbs-assess/sdmTMB/discussions/167#discussioncomment-4761404
Scenario that's come up: we have a model like the basic pcod example
Let's say the survey domain consists of 2-3 sub areas, and we want to create an index for each. One way to do this now is to call the get_index() function 3x, with a different prediction grid for each sub area. It seems like an alternative would be to have a variable in the prediction grid ("A", "B", "C"), with another argument to get_index(..., region_name = "zzz") or similar . Also referencing this in Discussion