recovered | R Documentation |
Has 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.