depthf.HR | R Documentation |
The half-region depth for functional real-valued data.
depthf.HR(datafA, datafB, range = NULL, d = 101)
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 |
The function returns the vector of the sample half-region depth values.
A vector of length m
of the half-region depth values.
Stanislav Nagy, nagy@karlin.mff.cuni.cz
Lopez-Pintado, S. and Romo, J. (2011). A half-region depth for functional data. Computational Statistics & Data Analysis 55 (4), 1679–1695.
datafA = dataf.population()$dataf[1:20]
datafB = dataf.population()$dataf[21:50]
depthf.HR(datafA,datafB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.