statistic_fun_factory | R Documentation |
This factory adds wrapper around statistical methods to handle na values. Additional it provides a simple way to apply a minimum required data capture rate to any function.
statistic_fun_factory(
statistic,
percentile = 0.95,
threshold = NULL,
max_gap = NULL
)
statistic |
Statistical method to generate function. Can be a name or function with one argument. See
section Statistical methods in the documention of |
percentile |
The percentile level in |
threshold |
optional minimum data capture threshold 0 - 1.0 to use |
max_gap |
optional maxium Number of consecutive NA values |
statistic function with one argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.