p.seqdatebreaks: Create Date Interval

Description Usage Arguments Value Examples

View source: R/seqdatebreaks.R

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

1
p.seqdatebreaks(x, periodicity)

Arguments

x

Time data from a Timeserie

periodicity

Time interval (string)

Value

Return a vector with timeinterval.

Examples

1
2
x <- seq.Date(from=as.Date("2019-01-01"),to=as.Date("2020-01-01"),by=1)
 p.seqdatebreaks(x,periodicity= "2 month")

jvg0mes/metools documentation built on June 28, 2020, 2:38 a.m.