incadata (version 0.5.3)

lt: Lead time from one date to another

Description

Lead time from one date to another

Usage

lt(from, to, neg.na = TRUE)

Arguments

from, to

start and stop dates (in formats that can be coerced by as.Dates).

neg.na

should negative lead times be set to NA?

Value

Numeric vector

Examples

Run this code
# NOT RUN {
lt(from = Sys.Date(), to = Sys.Date() + 10)
# }

Run the code above in your browser using DataLab