View source: R/table_all_integers.R
table_all_integers | R Documentation |
Table all integers from 1 to n
table_all_integers(x, n)
x |
A vector of integers. |
n |
The maximum integer value. |
A 1D array of class "table"
representing the frequency of each integer from 1 to n.
table_all_integers(c(2, 3, 5, 3, 5, 3), 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.