cubevisual {CUB}R Documentation

Plot an estimated CUBE model

Description

Plotting facility for the CUBE estimation of ordinal responses.

Usage

cubevisual(ordinal,csiplot=FALSE,paiplot=FALSE,...)

Arguments

ordinal

Vector of ordinal responses

csiplot

Logical: should ξ\xi or 1ξ1-\xi be the yy coordinate

paiplot

Logical: should π\pi or 1π1-\pi be the xx coordinate

...

Additional arguments to be passed to plot() and text(). Optionally, the number m of ordinal categories may be passed: this is recommended if some category has zero frequency.

Details

It represents an estimated CUBE model as a point in the parameter space with the overdispersion being labeled.

Value

For a CUBE model fitted to ordinal, by default it returns a plot of the estimated (1π,1ξ)(1-\pi, 1-\xi) as a point in the parameter space, labeled with the estimated overdispersion ϕ\phi. Depending on csiplot and paiplot and on desired output, xx and yy coordinates may be set to π\pi and ξ\xi, respectively.

Examples

data(univer)
ordinal<-univer$global
cubevisual(ordinal,xlim=c(0,0.5),main="Global Satisfaction",
   ylim=c(0.5,1),cex=0.8,digits=3,col="red")

[Package CUB version 1.1.5 Index]