View source: R/math_functions.R
quantile_or_inf | R Documentation |
-Inf
in the other case.Calculate the quantile if there is no infinite or missing value.
Return -Inf
in the other case.
quantile_or_inf(x, q_ratio, inaccessible_states = 0)
x |
numeric vector whose quantile is wanted. |
q_ratio |
Numeric in [0,1]. Probability of the quantile. |
inaccessible_states |
Numeric in [0,1]. Tolerance of inaccessible states. For example if equal to 0.9 we delete the state if this states is inaccessible by 90% of scenarios. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.