format_dcpo | R Documentation |
format_dcpo
formats DCPO data output by dcpo_setup
for use with the DCPO
package's dcpo
Stan files.
format_dcpo(dcpo_data, scale_q, scale_cp, delta = TRUE)
dcpo_data |
a data frame of survey responses generated by |
scale_q |
a string indicating a survey question in dcpo_data to assign difficulty .5 at its cutpoint scale_cp |
scale_cp |
an integer indicating which cutpoint for scale_q should be assigned difficulty .5 |
delta |
logical: should item difficulty be estimated to vary by question-country to account for potential lack of equivalence? |
a list of Stan data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.