despike_3D | R Documentation |
Identify and interpolate outliers. See the AFNI documentation for 3dDespike for additional information.
despike_3D(Yt, c1 = 2.5, c2 = 4)
Yt |
The data vector. |
c1 |
spike threshold. Default: |
c2 |
upper range of the acceptable deviation from the fit. Default:
|
if (requireNamespace("fda", quietly=TRUE) && requireNamespace("quantreg", quietly=TRUE)) {
y <- rnorm(99) + cos(seq(99)/15)*3
y[20] <- 20
despike_3D(y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.