Learn R Programming

Cprob (version 1.2.2)

xyplot.cpfpo: 'xyplot' method for object of class 'cpfpo'

Description

This function plots the results of the proportional-odds model fitted to the conditional probability function using cpfpo.

Usage

## S3 method for class 'cpfpo':
xyplot(x, data = NULL, conf.int = TRUE, level = 0.95,
       odds = TRUE, intercept = TRUE, ylab, xlab, lty = c(1, 3, 3),
       col = c(1, 1, 1), ...)

Arguments

x
An object of class cpfpo
data
Useless. Can be kept to NULL
conf.int
Logical. Whether to plot pointwise confidence intervals. Default is TRUE
level
Level of the pointwise confidence interval. Default is 0.95
odds
If set to TRUE, the odds-ratios are displayed. Otherwise their logs are plotted. Default is TRUE
intercept
Logical. Controls whether the intercept should also be displayed. Default is TRUE.
ylab
Label for the y-axis
xlab
Label for the x-axis
lty
Vector of line types. Default is 1 for the odds-ratio and 3 for the confidence interval.
col
A vector of colours. Default is black
...
Further arguments

Value

  • The function returns a trellis object. See xyplot for further details.

See Also

cpfpo, xyplot