powered by
Identify and interpolate outliers. See the AFNI documentation for 3dDespike for additional information.
despike_3D(Yt, c1 = 2.5, c2 = 4)
The data vector.
spike threshold. Default: 2.5.
2.5
upper range of the acceptable deviation from the fit. Default: 4.
4
if (requireNamespace("fda", quietly=TRUE) && requireNamespace("quantreg", quietly=TRUE)) { y <- rnorm(99) + cos(seq(99)/15)*3 y[20] <- 20 despike_3D(y) }
Run the code above in your browser using DataLab