Description Usage Arguments Value Note Author(s) Examples
Modifies tabulate to work with non-positive integers too.
1 | TabulateInt(vec)
|
vec |
The input vector |
A named integer vector. There is a bin for each of the values 1, ..., nbins.
The behavior on non-integers might be somewhat unpredictable, but should
be somewhat like using table(cut(...))
with breaks being from the minimum
to the maximum + 1. See the "Examples" section.
Ananda Mahto
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.