Learn R Programming

dtwSat (version 0.1.0)

createTimeSequence: Create time sequence

Description

This function creates a sequence of dates for each year. The sequences start on January 1st of each year.

Usage

createTimeSequence(year = 2000:format(Sys.time(), "%Y"), frequency = 16)

Arguments

year
A vector with the years. Default is form 2000 to the system time year format(Sys.time(), ''%Y'')
frequency
An integer with the frequency in days. Default is 16 days

Value

vector of class Date

See Also

getDatesFromDOY and getModisTimeIndex

Examples

Run this code
dates = createTimeSequence()
dates

Run the code above in your browser using DataLab