Description Usage Arguments Value Examples
View source: R/utility_functions.R
Given a set of posssible values, computes the proportion of values that actually occurred.
1 | catProp(x, val)
|
x |
a vector of values. |
val |
a character vector with the set of possible values
that |
Returns a vector of proportions that sum to 1.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.