powered by
Detects outliers based on depth trimming.
outliers.depth.trim(fdataobj, trim = 0.1, dfunc = depth.mode, ...)
A list of class 'outliers.fdata' with components:
Indices of detected outliers
Depth values for all curves
Depth cutoff used
An object of class 'fdata'.
Proportion of curves to consider as potential outliers. Default is 0.1 (curves with depth in bottom 10%).
Depth function to use. Default is depth.mode.
Additional arguments passed to depth function.
fd <- fdata(matrix(rnorm(200), 20, 10)) out <- outliers.depth.trim(fd, trim = 0.1)
Run the code above in your browser using DataLab