tgf | R Documentation |
A plotting function producing non-parametric analogues of the IRF for each option in a multiple choice item not unlike those in Jim Ramsay's TestGraf program.
tgf( choices, key, item, main = "Non-parametric response function", co = 1, label = FALSE )
choices |
A matrix of responses to multiple-choice items: persons as
rows, items as columns. As a rare exception in |
key |
A vector containing the key (correct answers) to the items in
|
item |
A single number pointing to the item (column of |
main |
The main title of the plot, given that |
co |
The colour of the curves. Default is 1 for black. Use |
label |
When |
Ivailo Partchev
James O. Ramsay (2000). TestGraf: A program for the graphical analysis of multiple choice test and questionnaire data. McGill University, Montreal, Canada
qrs
, irf
, plot.irf
key=c(2,3,1,1,4,1,2,1,2,3,3,4,3,4,2,2,4,3) tgf(choices=Unscored, key=key, item=4, co=NA, label=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.