countPerc | R Documentation |
Simple function to count the frequencies of a variable (var) within a data frame (x) along with the percentage. When a value (value) is provided, the function will return the number of defined observations and compute the percentage.
countPerc(x, var, value = NULL)
x |
data fame |
var |
variable |
value |
value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.