PercentAbove | R Documentation |
Calculate the percentage of a vector above some threshold
PercentAbove(x, threshold)
x |
Vector of values |
threshold |
Threshold to use when calculating percentage |
Returns the percentage of x
values above the given threshold
set.seed(42)
PercentAbove(sample(1:100, 10), 75)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.