Learn R Programming

tolBasis (version 1.0)

Date: Date Class

Description

Uses the R class Date for the TOL integration in R.

Usage

# Creates a date using year-month-day specification. Date(year, month=1, day=1)

Arguments

year
a valid year
month
the number of a month
day
a valid day of a month

Value

a Date object

See Also

See also the reference for Date objects.

Examples

Run this code
dt <- Date(2015) #"2015-01-01" 

Run the code above in your browser using DataLab