Learn R Programming

tolBasis (version 1.0)

Sfirst: First Date of a Serie

Description

Obtains the first date of a time series.

Usage

Sfirst(s)

Arguments

s
a Serie object

Value

a Date object

See Also

See the reference to Serie class.

See also the method Slast.

Examples

Run this code
s <- Serie(rnorm(12), Monthly, Date(2015))
Sfirst(s) 

Run the code above in your browser using DataLab