Learn R Programming

tolBasis (version 1.0)

Dfind: Find Dating for a Date sequence

Description

Finds a Dating object compatible with a Date sequence.

Usage

Dfind(date.sequence)

Arguments

date.sequence
a sequence of dates (class Date or POSIXt)

Value

Returns (if it is found) a Dating compatible with the specified Date sequence.Note that the dates should be ordered in order to be a valid sequence.

See Also

See also the functions Dseq and Dcheck

Examples

Run this code
# Check a sequence of dates
Dfind(c(Date(2010), Date(2010,2), Date(2010,3))) #-> Monthly

Run the code above in your browser using DataLab