lt.Rd
Lead time from one date to another
lt(from, to, neg = FALSE)
from, to | start and stop dates (in formats that can be recognized as RCC dates). |
---|---|
neg | except negative lead times (set to |
Numeric vector
lt("2017-02-10", "2017-02-16") # 6#> [1] 6lt("2017-02-16", "2017-02-10") # negative lead times ignored by default#> [1] NAlt("2017-02-16", "2017-02-10", TRUE) # -6#> [1] -6