count_table | R Documentation |
Summary of a count variable.
count_table(count, breaks, formatChar = FALSE)
count |
integer, observed count value for every individual in the sample. |
breaks |
integer, values at which the breaks should happen. The function
will compute the observed frequency in |
formatChar |
logical, should the values be converted to character and formatted? |
The function does a similar job to table()
with more flexibility
introduced by the argument breaks
. The user can decide how to break
the count values and decide to merge some cells if needed.
matrix
with 2 rows and length(breaks)
columns. The
column names are the cells names. The rows are the observed frequencies
and relative frequencies (probabilities).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.