Cmetric | R Documentation |
Returns the matrix of C
(uniform) distances between two sets of functional data.
Cmetric(A, B)
A |
Functions of the first set, represented by a matrix of their functional values of
size |
B |
Functions of the second set, represented by a matrix of their functional values of
size |
For two sets of functional data of sizes m
and n
represented by matrices of their functional values,
this function returns the symmetric matrix of size m*n
whose entry in the
i
-th row and j
-th column is the approximated C
(uniform) distance of the
i
-th function from the first set, and the j
-th function from the second set.
This function is utilized in the computation of the h-mode depth.
A symmetric matrix of the distances of the functions of size m*n
.
Stanislav Nagy, nagy@karlin.mff.cuni.cz
depthf.hM
dataf2rawfd
datapop = dataf2rawfd(dataf.population()$dataf,range=c(1950,2015),d=66)
A = datapop[1:20,]
B = datapop[21:50,]
Cmetric(A,B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.