Description Usage Arguments Details Value Author(s) References Examples
Despike ADV data
1 2 |
fpath |
file.path to ADV output where the column of interest is named "Speed" |
outpath |
file.path to save results. optional. |
maxcounter |
numeric number of smoothing passes |
plotting |
logical output progress to plots? |
plotwin |
numeric vector of length 2 specifying the plotting window |
This function is nearly a direct translation of the MacVicar et al. (2014) SpikeGoringNikora.m script from MATLAB to R. Single value spikes are not removed if they are the same as a linear interpolation between adjacent points. Remove measurements where the SNR > 5 per the ADV manual?
data.frame datetime of class POSIXct and speed of class numeric
Joseph Stachelek
https://github.com/macvicab/MITT
1 2 3 4 5 6 7 8 | ## Not run:
fpath <- "inst/extdata/2014-10-14_R322_001_Z5-3.dat"
outpath <- "inst/extdata/2014-10-14_R322_001_Z5-3.csv"
res <- spikegornik(fpath)
res <- spikegornik(fpath, outpath)
plot(res, type = "l")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.