cubvisual: Plot an estimated CUB model

View source: R/cubvisual.R

cubvisualR Documentation

Plot an estimated CUB model

Description

Plotting facility for the CUB estimation of ordinal responses.

Usage

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

Arguments

ordinal

Vector of ordinal responses

csiplot

Logical: should \xi or 1-\xi be the y coordinate

paiplot

Logical: should \pi or 1-\pi 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 CUB model as a point in the parameter space with some useful options.

Value

For a CUB model fit to ordinal, by default it returns a plot of the estimated (1-\pi, 1-\xi) as a point in the parameter space. Depending on csiplot and paiplot and on desired output, x and y coordinates may be set to \pi and \xi, respectively.

Examples

data(univer)
ordinal<-univer$global
cubvisual(ordinal,xlim=c(0,0.5),ylim=c(0.5,1),cex=0.8,main="Global Satisfaction")

CUB documentation built on May 29, 2024, 5:23 a.m.