'xyplot' method for object of class 'cpfpo'

Share:

Description

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

Usage

1
2
3
4
## 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.

Author(s)

Arthur Allignol, arthur.allignol@uni-ulm.de

See Also

cpfpo, xyplot