Description Usage Arguments Value See Also Examples
View source: R/LastPointAboveQuantile.R
This function LastPointAboveQuantile
is used to determine
whether the last observation of ts
is above the sample quantile
calculated using the rest of the points in ts
. If argument
exclude
is specified, elements at those designated positions are
further removed from the sample quantile calculation.
1 | LastPointAboveQuantile(ts, exclude = NULL, probT = 0.9)
|
ts |
A numeric vector whose
|
exclude |
A logical vector with length equals to |
probT |
probability threshold with values in [0, 1]. The sample quantile corresponds to this probability is calculated. |
returns TRUE
if the last element of ts
is above the
sample quantiles and FALSE
otherwise.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.