Description Usage Arguments Details Value Author(s) Examples
Computes the percentage of values in a vector less than or greater than (and equal to) a user-supplied value.
1 2 3 4 5 6 7 |
x |
A numeric vector. |
val |
A single numeric value. |
dir |
A string that indicates whether the percentage is for values in |
na.rm |
A logical that indicates whether |
digits |
A single numeric that indicates the number of decimals the percentage should be rounded to. |
This function is most useful when used with an apply-type of function.
A single numeric that is the percentage of values in x
that meet the criterion in dir
relative to val
.
Derek H. Ogle, derek@derekogle.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.