do_clean {adamethods} | R Documentation |
Cleaning outliers
Description
Cleaning of the most remarkable outliers. This improves the performance of the archetypoid algorithm since it is not affected by spurious points.
Usage
do_clean(data, num_pts, range = 1.5, out_perc = 80)
Arguments
data |
Data frame with (temporal) points in the rows and observations in the columns. |
num_pts |
Number of temporal points. |
range |
Same parameter as in function |
out_perc |
Minimum number of temporal points (in percentage) to consider
the observation as an outlier. Needed when |
Value
Numeric vector with the outliers.
Author(s)
Irene Epifanio
See Also
Examples
data(mtcars)
data <- mtcars
num_pts <- ncol(data)
do_clean(t(data), num_pts, 1.5, 80)
[Package adamethods version 1.2.1 Index]