clean: Clean input CREDI response data

Description Usage Arguments Examples

View source: R/clean.R

Description

This calculates the posterior density function.

Usage

1
clean(input_df, mest_df, reverse_code, interactive, log, min_items)

Arguments

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.

csv_wd

(string) Working directory where input *.csv file is located.

Examples

1
clean(input_df, mest_df, reverse_code, interactive, log)

jmseiden/jms_credi documentation built on April 4, 2021, 1:38 p.m.