plot.magree {magree}R Documentation

plot methods for magree, oconnell and schouten objects

Description

plot methods for magree, oconnell and schouten objects

Usage

## S3 method for class 'magree'
plot(x, type = c("p1", "kappa by observer"),
xlab = NULL, ylab = NULL, main = NULL, ...)
## S3 method for class 'oconnell'
plot(x, type = c("p1"), xlab = NULL, ylab = NULL, main = NULL, ...)
## S3 method for class 'schouten'
plot(x, type = c("kappa by observer"), xlab = NULL,
ylab = NULL,
main = NULL, xdelta = 0.1, axes = TRUE, ...)

Arguments

x

magree, oconnell or schouten object.

type

Type of plot. For "p1", plot the probabilities by observer. For "kappa by observer", plot the kappas for each observer.

xlab

x-axis label

ylab

y-axis label

main

main label

xdelta

For plot.schouten and "kappa by observer", specifies the width of the brackets for the confidence intervals.

axes

Bool for whether to plot the axes.

...

other arguments passed to plot

Examples

fit <- schouten(landis)
plot(fit)
fit <- oconnell(landis)
plot(fit,type="p1")

[Package magree version 1.2 Index]