cubevisual: Plot an estimated CUBE model

Description Usage Arguments Details Value Examples

View source: R/cubevisual.R

Description

Plotting facility for the CUBE estimation of ordinal responses.

Usage

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

Arguments

ordinal

Vector of ordinal responses

csiplot

Logical: should ξ or 1-ξ be the y coordinate

paiplot

Logical: should π or 1-π be the x 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-ξ) as a point in the parameter space, labeled with the estimated overdispersion φ. Depending on csiplot and paiplot and on desired output, x and y coordinates may be set to π and ξ, respectively.

Examples

1
2
3
4
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")

CUB documentation built on March 31, 2020, 5:14 p.m.