clean | R Documentation |
This takes raw CREDI data and pre-processes it for scoring. This function is used by the 'score' function and is not typically used directly by a user.
clean(input_df, mest_df, reverse_code, interactive, log, min_items, dscore)
input_df |
(data.frame) Raw input data from the user-specified csv file. |
mest_df |
(data.frame) Measurement parameter estimates. |
reverse_code |
(logical). If TRUE, then reverse codes LF9, LF102, LFMH1, LFMH2, LFMH3, LFMH4, LFMH5, LFMH7, LFMH8, & LFMH9. If FALSE, then no reverse coding is applied. |
log |
(string) Name of the *.txt log file for the CREDI scoring. |
min_items |
(integer) Default to 5. The minimum number of scale-specific items (e.g., SF, MOT, etc.) required for a score to be calculated. |
dscore |
(Logical) Defaults to FALSE. If TRUE, calculate GSED d-score and DAZ in addition to CREDI scores. |
csv_wd |
(string) Working directory where input *.csv file is located. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.