Learn R Programming

FUNTA (version 0.1.0)

FUNTA-package: Obtain FUNTA and rFUNTA pseudo-depth for a given functional dataset

Description

Given the discretized functional observations, the functions FUNTA and rFUNTA are able to compute the functional tangential angle pseudo-depths as introduced in Kuhnt and Rehage (2016).

Arguments

Details

For FUNTA and rFUNTA, insert the data in matrix form (n by T, where n is the number of observations and T is the number of time points).

References

Kuhnt, S.; Rehage, A. (2016) An angle-based multivariate functional pseudo-depth for shape outlier detection. Journal of Multivariate Analysis 146, 325-340.

Examples

Run this code
x <- seq(0, 2*pi, by = 0.01)
y1 <- sin(x)
y2 <- sin(1.02*x)
y3 <- cos(x)
y <- rbind(y1, y2, y3)
FUNTA(y, tick.dist = 0.01)
rFUNTA(y, tick.dist = 0.01)

Run the code above in your browser using DataLab