esc | R Documentation |
plotting function for plotting expected score curves.
esc(pers_obj, itemnumber = 1, integ = 6, ra = 4, nodes = 100, lwd = 2, ...)
pers_obj |
an object of class |
itemnumber |
an integer, defining the number of the item to plot the respective categoy probability for. This is set to an arbitrary default value of |
integ |
either an integer defining the number of (ability) groups to integrate the empirical theta vector or the character expression |
ra |
an integer, defining the (logit) range for x-axis |
nodes |
numer of integration nodes |
lwd |
see |
... |
arguments passed to plot |
no details in the moment.
########
data(bfiN)
result <- pers(pair(bfiN))
esc(pers_obj=result,1,lwd=2) # plot for first item
esc(pers_obj=result,2,lwd=2) # plot for second item
for(i in 1:5){esc(pers_obj=result,i,lwd=2)}
#########
esc(pers_obj=result,2,integ="all",lwd=2) # plot for secod item
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.