ices-tools-prod / msy

A collection of methods to estimate equilibrium reference points for fish stocks
GNU General Public License v2.0
13 stars 11 forks source link

eqsr_fit does not pass remove.years information to eqsr_plot #31

Open marchtaylor opened 1 year ago

marchtaylor commented 1 year ago

This might be a good enhancement, as the plot could be misleading; e.g.

library(msy)
data(icesStocks)
FIT <- eqsr_fit(icesStocks$saiNS,
  nsamp = 1000,
  models = c("Ricker", "Segreg"), remove.years = 1967:1990)

eqsr_plot(FIT, n = 20000, ggPlot = T)

grafik