p.seqdatebreaks {metools} | R Documentation |
p.seqdatebreaks is a function to break a time axis from graphic in specific interval. This function are recommended to select timeinterval of graphics created with metools p.functions.
p.seqdatebreaks(x, periodicity)
x |
Time data from a Timeserie |
periodicity |
Time interval (string) |
Return a vector with timeinterval.
x <- seq.Date(from=as.Date("2019-01-01"),to=as.Date("2020-01-01"),by=1)
p.seqdatebreaks(x,periodicity= "2 month")