cubshevisual | R Documentation |
Plotting facility for the CUB estimation of ordinal responses when a shelter effect is included
cubshevisual(ordinal,shelter,csiplot=FALSE,paiplot=FALSE,...)
ordinal |
Vector of ordinal responses |
shelter |
Category corresponding to the shelter choice |
csiplot |
Logical: should |
paiplot |
Logical: should |
... |
Additional arguments to be passed to |
It represents an estimated CUB model with shelter effect as a point in the parameter space with shelter estimate indicated as label.
For a CUB model with shelter fitted to ordinal
, by default it returns a plot of the estimated
(1-\pi, 1-\xi)
as a point in the parameter space, labeled with the estimated shelter parameter \delta
.
Depending on csiplot
and paiplot
and on desired output, x
and y
coordinates may be set
to \pi
and \xi
, respectively.
cubvisual
, multicub
data(univer)
ordinal<-univer$global
cubshevisual(ordinal,shelter=7,digits=3,col="blue",main="Global Satisfaction")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.