loadData {PROsetta} | R Documentation |
loadData
is a data loading function to create a PROsetta_data
object, for scale linking/equating with 'PROsetta' package. Response data is assumed to be reverse-coded for applicable items.
loadData(
response,
itemmap,
anchor,
item_id = NULL,
person_id = NULL,
scale_id = NULL,
input_dir = getwd()
)
response |
response data containing case IDs and item responses. This can be a |
itemmap |
an item map containing item IDs and scale IDs. This can be a |
anchor |
anchor data containing item parameters for anchor items. This can be a |
item_id |
the column name to look for item IDs. Automatically determined if not specified. |
person_id |
the column name to look for case IDs. Automatically determined if not specified. |
scale_id |
the column name to look for scale IDs. Automatically determined if not specified. |
input_dir |
the directory to look for the files. |
loadData
returns a PROsetta_data
object containing the loaded data.