View source: R/all_digit_test_helper_functions.R
grab_desired_aligned_columns | R Documentation |
Fetches the left-aligned/right-aligned data columns for analysis, drop the first and last digit places if desired
grab_desired_aligned_columns(
digitdata,
data_columns,
skip_first_digit = FALSE,
skip_last_digit = FALSE,
align_direction = "left",
digit_places = 0
)
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 |
skip_first_digit |
TRUE or FALSE: If TRUE, skip first digit place before analysis. Default to FALSE. |
skip_last_digit |
TRUE or FALSE: If TRUE, skip last digit place before analysis, since we don't want tests to overlap. Default to FALSE.
|
align_direction |
'left' or 'right': specify whether left-aligned or right-aligned digits table to be returned |
digit_places |
Only used internally for checking if it is last digit test |
A list with
digits_table
The left-aligned/right-aligned digits table for data_columns
digitdata
The DigitAnalysis
object with slot 'max' updated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.