Description Usage Arguments Value Note Author(s) Examples
The function returns the frequencies of each figure at a given position in the considered dataset.
1 | obs.numb.dig(dat, dig = 1)
|
dat |
The considered dataset, a data frame containing non-zero real numbers. |
dig |
The chosen position of the digit (from the left). |
A vector containing the frequencies of each figure in ascending order. Its length is 9 if dig=1 (the figures ranging from 1 to 9) and 10 if dig>1 (the figures ranging from 0 to 9).
This warning message can appear: NAs introduced during the automatic conversion. This is due to the fact that some data are not numerical in the entered dataset. Non numerical values and zeros are not counted.
Blondeau Da Silva St\'ephane
1 2 | data(census)
obs.numb.dig(census, dig=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.