Learn R Programming

kobe (version 1.3.2)

recovered: recovered

Description

Has the stock recovered yet? i.e. stock>=1 and harvest

Usage

recovered(stock, harvest)

Arguments

stock
a vector holding a time series
harvest
a vector holding a time series

Value

a logical indicating a recovered stock

Examples

Run this code
## Not run: 
#    harvest=rlnorm(20)
#    stock  =rlnorm(20)
#    recovered(stock,harvest)## End(Not run)

Run the code above in your browser using DataLab