SemimetricPLS: SemimetricPLS

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

Description

SemimetricPLS is a function that calculates a distance matrix based on the PLS components of the functional data. Response need not to be classes as by Ferraty and Vieu.

Usage

1
2
3
4
SemimetricPLS(Response,
              Data1, 
              Data2, 
              q)

Arguments

Response

The response of Data1

Data1

Matrix with functional data (curves) each row one; n rows

Data2

Matrix with a second set of functional data (curves) each row one; m rows

q

Number of pls components

Value

Semimetric returns a list with: semimetric as the n x m - distance-matrix

Author(s)

Simon Mueller simon.mueller@mathematik.uni-stuttgart.de

References

http://www.math.univ-toulouse.fr/staph/npfda/

Ferraty, F. and Vieu, P. Nonparametric Functional Data Analysis. Springer 2006.

See Also

Semimetric

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# functional data sets
require (fds)

# fat spectrum dataset
X <- t(Fatspectrum$y)
Y <- Fatvalues

# setup semimetric parameter
q <- 4

# calculate distance matrix
Dist1 <- SemimetricPLS (Y[1:100],
                        X[1:100, ], 
                        X[101:150, ], 
                        q)

sipemu/Nonparametric-Functional-Data-Analysis documentation built on May 29, 2019, 10:10 p.m.