Description Usage Arguments Details Value Examples
Function used to compute the absolute and relative frecuency of a categorical variable.
1 |
x |
Numeric or Character. A vector of the data set. |
op |
Logical. Optional argument to see the data structure in graphical representation. |
This function shows a table including the frequency of values from a categorical vector. This vector can be formed by numeric, character or mixed values, that is, numerical and character values. The table also includes the number of categories in which data is distributed. The absolute and relative frecuencies can be showed using histogram.
A data frame is returned by default (op=FALSE), including the absolute and relative frequeincies of the data set. In addition, cumulative fequencies are included in this table. When "op=TRUE", the function returns only the absolute and relative frequencies in a graphical representation through histogram.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.