View source: R/rounding_test.R
| rounding_test | R Documentation | 
Performs rounding test vs uniform distribution across categories in a specified data column
rounding_test(
  digitdata,
  rounding_patterns,
  break_out,
  data_columns = "all",
  break_out_grouping = NA,
  plot = TRUE
)
| digitdata | A object of class  | 
| rounding_patterns | The patterns to be counted as rounding digits. 
 | 
| break_out | 
 | 
| data_columns | The names of numeric columns of data to be analyzed. Default can be 'all', where using all data columns in  | 
| break_out_grouping | A list of arrays, or defaulted to NA. Only effective if  
 | 
| plot | TRUE or FALSE or 'Save': If TRUE, display the plots and return them. If 'Save', return the plots but suppress display. If FALSE, no plot is produced. Default to TRUE. | 
A table of p values of t test for rounding test on each category
A table of percent rounded digits for rounding test on each category ordered by decreasing rounded percentage
A table of sample sizes for rounding test on each category
 Plots for each category if plot = TRUE or 'Save'
rounding_test(digitdata)
rounding_test(digitdata, omit_05=0)
rounding_test(digitdata, omit_05=NA, break_out='col_name')
rounding_test(digitdata, data_columns=c('col_name1', 'col_name2'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.