Dseq: Date Sequence

Description Usage Arguments Value Examples

Description

Date sequence in a Dating

Usage

1
2
3
4
5
Dseq(from, to, dating, len)    
# Sequence of dates in an interval
# Dseq(from, to, dating, )
# Sequence of dates from a date
# Dseq(from, , dating, lenght.out)

Arguments

from

the Date o POSIXt objet indicating the minimum date

to

the Date o POSIXt objet indicating the maximum date

dating

a Dating object

len

the number of obtained dates whether the argument to is missing

Value

Returns a vector of dates belonging to the dating in the interval [from, to] If the argument to is missing returns a vector with the length 'len'.

Examples

1
2
3
# Vector of the monthly dates of the current year
currYear <- Dfloor(Sys.Date(), Yearly)
Dseq(currYear, dating=Monthly, len=12)

tolBasis documentation built on May 2, 2019, 3:44 a.m.