dateAccessories: Numeric and character vectors to facilitate working with...

Description Format Details Source See Also Examples

Description

Numeric and character vectors to simplify functional data computations and plotting involving dates.

Format

Details

Miscellaneous vectors often used in 'fda' scripts.

Source

Ramsay, James O., and Silverman, Bernard W. (2006), Functional Data Analysis, 2nd ed., Springer, New York, pp. 5, 47-53.

Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York

See Also

axisIntervals month.abb

Examples

1
2
3
4
5
6
7
8
daybasis65 <- create.fourier.basis(c(0, 365), 65)
daytempfd <- with(CanadianWeather, smooth.basisPar(day.5,
    dailyAv[,,"Temperature.C"], daybasis65)$fd )
plot(daytempfd, axes=FALSE)
axisIntervals(1)
# axisIntervals by default uses
# monthBegin.5, monthEnd.5, monthMid, and month.abb
axis(2)

Example output

Loading required package: splines
Loading required package: Matrix

Attaching package: 'fda'

The following object is masked from 'package:graphics':

    matplot

[1] "done"

fda documentation built on Nov. 17, 2021, 5:14 p.m.