Select (nearly) a given number of dates.

selectDate(date, n = 3L)

Arguments

date

A vector with class"Date" or that can be coerced to this class.

n

Target number of selected dates.

Value

A vector of 'round' dates having nearly length n and covering approximately the range of date.

Details

This function is used to select the dates for a conditional prediction it those are not given by the user.