View source: R/digit_pair_test.R
counts_observed | R Documentation |
Find the frequency of terminal digit pairs occuring in the data being analyzed
counts_observed(digitdata, data_columns, omit_05, min_length, indexes = NA)
digitdata |
A object of class |
data_columns |
The names of numeric columns of data to be analyzed. Default can be 'all', where using all data columns in |
omit_05 |
Whether to omit 0 or both 0 and 5. If omit both 0 and 5, pass in c(0,5) or c(5,0); if omit only 0 pass in 0 or c(0); if omit neither, pass in NA. Default to NA. |
min_length |
The minimum length of the numbers to be analyzed in digit pair test. Must be an integer >= 2. Default to 3. |
indexes |
The indexes of the rows to be analyzed in the data. Used to facilitate |
An array of [# pairs, # not pairs]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.