rmoutlier1d {l1kdeconv} | R Documentation |
Remove the Outliers in a Vector of 1D Coordinates
Description
Remove the Outliers in a Vector of 1D Coordinates
Usage
rmoutlier1d(x, dy_thr = dnorm(4), clustersize_thr = 3, gapsize = 10)
Arguments
x |
a numeric vector |
dy_thr |
the threshold for dy |
clustersize_thr |
the threshold for cluster size |
gapsize |
the threshold of points in recognizing data free gap |
Examples
x=c(1,10:30,50)
par(mfrow=c(2,1))
plot(density(x))
plot(density(rmoutlier1d(x)))
[Package l1kdeconv version 1.2.0 Index]