View source: R/loading_functions.R
loadData | R Documentation |
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 |
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. |
model_id |
the column name to look for model 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.