loadData is a data loading function for creating a PROsetta_data object, for performing scale linking/equating in the 'PROsetta' package.
loadData assumes the response data has been reverse-coded for applicable items.
loadData(
response,
itemmap,
anchor,
item_id = NULL,
person_id = NULL,
scale_id = NULL,
model_id = NULL,
input_dir = getwd()
)response data containing case IDs and item responses. This can be a .csv filename or a data.frame object.
an item map containing item IDs and scale IDs. This can be a .csv filename or a data.frame object.
anchor data containing item parameters for anchor items. This can be a .csv filename or a data.frame object.
the column name to look for item IDs. Automatically determined if not specified.
the column name to look for case IDs. Automatically determined if not specified.
the column name to look for scale IDs. Automatically determined if not specified.
the column name to look for model IDs. Automatically determined if not specified.
the directory to look for the files.
loadData returns a PROsetta_data object containing the loaded data.