- x
A matrix or data frame that contains both response and person data.
- target_dir
The directory where the analysis results will be saved.
The default value is getwd().
- analysis_name
A string that will be used for naming the files (data,
control, output) and as the title of the analysis. The default is
"winsteps_analysis".
- items
A vector of strings representing item IDs within x to be
used as response data, or a numeric vector indicating the columns
containing response data. The default value is NULL, which uses all
columns in x except those specified in examinee_id_var and
additional_vars.
- examinee_id_var
A string representing the column name containing
examinee/subject IDs, or the column number of examinee/subject IDs. The
default value is NULL, assuming no examinee/subject IDs.
- additional_vars
A vector of strings or integers representing the
column names or numbers to be included in the Winsteps data file. The
default value is NULL, meaning no additional columns will be added
to the Winsteps data file. Note that if items is NULL, all
variables in the dataset will be treated as response data.
- anchor_info
A matrix or data frame containing the sequence number and
difficulty values of anchor items. The anchor matrix should have at least
two columns: (1) either seq, indicating the column numbers of the
anchor items in the response matrix, or item_id column containing
the IDs of anchor items, and (2) b, the item difficulty values. The
default value is NULL, meaning no anchor items are used.
- overwrite
A logical value. If TRUE, existing control/data files
will be overwritten. The default value is TRUE.
- winsteps_exe_folder
The directory containing the Winsteps executable.
The default value is file.path("C:/Winsteps").
- verbose
If TRUE, the program will print intermediate steps.