| date.fdata {far} | R Documentation |
Extract the date(s) of fdata objects
date.fdata(data)
data |
A fdata object |
The dates are the labels of the functionals observations of the
fdata object.
fdata are not constructed as ts object so a specific
function to obtain the date is useful.
A vector giving the dates (as character).
J. Damon
# Reading the data
library(stats)
data(UKDriverDeaths)
# Conversion of the data
fUKDriverDeaths <- as.fdata(UKDriverDeaths,col=1,p=12,dates=1969:1984,
name="UK Driver Deaths")
date.fdata(fUKDriverDeaths)