date.fdata: Extract the date of fdata

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/fdata.R

Description

Extract the date(s) of fdata objects

Usage

1

Arguments

data

A fdata object

Details

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.

Value

A vector giving the dates (as character).

Author(s)

J. Damon

See Also

fdata

Examples

1
2
3
4
5
6
7
8
# 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)

far documentation built on May 2, 2019, 9:28 a.m.