elizabethng / predator-diets

Code used to perform the analyses in "Predator stomach contents can provide accurate indices of prey biomass"
https://academic.oup.com/icesjms/article/78/3/1146/6145864
0 stars 0 forks source link

Can't plot residuals maps #18

Closed elizabethng closed 5 years ago

elizabethng commented 5 years ago

Could try other plots as well. It seems that n_x doesn't get passed to TmbData. Maybe this can be fixed manually, or it may require updating packages (i.e., FishStatsUtils). Should also check issue tracker for VAST and FishStatsUtils to see if others are having the same problem.

elizabethng commented 5 years ago

Fixed in https://github.com/elizabethng/predator-diets/commit/25661ee4dcef91695e81736a34c16cc2bc30d888. Appears that for some reason, these are no longer created by the make_data function, manually add in before plotting. See same issue on FishStatsUtils issue tracker: https://github.com/James-Thorson-NOAA/FishStatsUtils/issues/14