View source: R/last_2_digits.R
last2_diff_test | R Documentation |
Tests if the distribution of difference between the last two digits of a vector of numbers departs from the expected distribution
last2_diff_test(x, n = 100)
x |
Vector of integer values (either integer or numeric class) |
n |
Number of replications required |
last2_diff_test(sample(10:99, size = 1000, replace = TRUE), 100) last2_diff_test(c(10:99, 1 + rep(c(11 * (1:8)), 2)), 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.