Description Usage Arguments Value
This is a low level function not intended to be used on its own. It is
utilized by despike
that should be used instead.
1 |
sd_sub |
A data frame prepared by |
date |
An unsubsetted vector of class |
n |
A numeric value. Number of values within 13-day blocks required to obtain robust statistics. |
z |
A numeric value. MAD scale factor. |
c |
A numeric value. |
plot |
A logical value. If |
If plot = FALSE
, an updated data frame sd_sub
with
identified spikes in column Spike and with three new columns var_minus,
var_plus and diff. If plot = TRUE
, a list with elements SD
(a
data frame identical to the one produced if plot = FALSE
) and
plots
containing a list of ggplot
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.