Column and row-wise tabulate of a matrix.
An integer matrix with the data. The numbers must start from 1, i.e. 1, 2, 3, 4,... No zeros are allowed. Anything else may cause a crash.
The maximum value of vector x. If you know which is the max number use this argument for faster results or by default max(x).
The functions is written in C++ in order to be as fast as possible.
A matrix where in each column the command "tabulate" has been performed. The number of rows of the returned matrix will be equal to the max_number if given. Otherwise, the functions will find this number.
R implementation and documentation: Manos Papadakis <firstname.lastname@example.org>.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.