Summary of a count variable.
count_table(count, breaks, formatChar = FALSE)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).
integer, observed count value for every individual in the sample.
integer, values at which the breaks should happen. The function
will compute the observed frequency in [breaks[i], breaks[i + 1]).
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.