maxfdata: Maxima of functional data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/fdata.R

Description

Extract the maxima series from a functional data object.

Usage

1

Arguments

data

A fdata object

Value

A fdata object.

Author(s)

J. Damon

See Also

fapply

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  # Simulation of a FARX process
  data1 <- simul.farx(m=10,n=400,base=base.simul.far(20,5),
                base.exo=base.simul.far(20,5),
                d.a=matrix(c(0.5,0),nrow=1,ncol=2),
                alpha.conj=matrix(c(0.2,0),nrow=1,ncol=2),
                d.rho=diag(c(0.45,0.90,0.34,0.45)),
                alpha=diag(c(0.5,0.23,0.018)),
                d.rho.exo=diag(c(0.45,0.90,0.34,0.45)),
                cst1=0.0)

  print(data2 <- maxfdata(data1))
  print(unclass(data2))

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