depthf.BD {ddalpha} | R Documentation |
Band Depth for Functional Data
Description
The (unadjusted) band depth
for functional real-valued data of order J=2
.
Usage
depthf.BD(datafA, datafB, range = NULL, d = 101)
Arguments
datafA |
Functions whose depth is computed, represented by a |
datafB |
Random sample functions with respect to which the depth of |
range |
The common range of the domain where the functions |
d |
Grid size to which all the functional data are transformed. For depth computation,
all functional observations are first transformed into vectors of their functional values of length |
Details
The function returns the vector of the sample (unadjusted) band depth values.
Value
A vector of length m
of the band depth values.
Author(s)
Stanislav Nagy, nagy@karlin.mff.cuni.cz
References
Lopez-Pintado, S. and Romo, J. (2009), On the concept of depth for functional data, J. Amer. Statist. Assoc. 104 (486), 718 - 734.
See Also
Examples
datafA = dataf.population()$dataf[1:20]
datafB = dataf.population()$dataf[21:50]
depthf.BD(datafA,datafB)