p.seqdatebreaks {metools} | R Documentation |
Create Date Interval
Description
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.
Usage
p.seqdatebreaks(x, periodicity)
Arguments
x |
Time data from a Timeserie |
periodicity |
Time interval (string) |
Value
Return a vector with timeinterval.
Examples
x <- seq.Date(from=as.Date("2019-01-01"),to=as.Date("2020-01-01"),by=1)
p.seqdatebreaks(x,periodicity= "2 month")
[Package metools version 1.0.0 Index]