powered by
Returns two date variables representing the starting date and ending date for a combination of paStart, paLong, and year
startEnd(paStart, paLong, year)
Date list
numeric integer specifying the starting month for the period of analysis, 1<=paStart<=12, default is 10
numeric integer specifying the length of the period of analysis, in months, 1<=paLong<=12, default is 12
integer year, which is the calendar year in which the period ends
paStart <- 10 paLong <- 12 year <- 1999 startEnd(paStart, paLong, year)
Run the code above in your browser using DataLab