recovered.RdHas the stock recovered yet? i.e. stock>=1 and harvest<=1 in the current or an earlier time step. In other words has it been in the green Kobe quadrant.
recovered(stock, harvest)
| stock | a vector holding a time series |
|---|---|
| harvest | a vector holding a time series |
a logical indicating a recovered stock
# NOT RUN { harvest=rlnorm(20) stock =rlnorm(20) recovered(stock,harvest) # }