plot.turnbull: Plotting 'turnbull' objects

View source: R/turnbull_db.R

plot.turnbullR Documentation

Plotting turnbull objects

Description

Plotting method for objects of class "turnbull". The empirical survival curve and confidence interval (if computed) are plotted.

Usage

## S3 method for class 'turnbull'
plot(x, main = NULL, sub = NULL, xlab = NULL, ylab = NULL, 
        lwd = NULL, lty = NULL, plotCI = FALSE, ltyCI = 5, ...)

Arguments

x

an object of class "turnbull".

main

the main title of the plot. If unspecified, no main title is displayed.

sub

the sub-title of the plot. If unspecified, no sub-title is displayed.

xlab

the x label of the plot. If missing, xlab = "Bid" is used. Setting xlab = "" displays no x label.

ylab

the y label of the plot. If missing, ylab = "Survival Probability" is used. Setting ylab = "" displays no y label.

lwd

the line width for the plot. If missing, lwd = 3 is used.

lty

the line type for the plot. If missing, lty = 1 is used.

plotCI

logical. If TRUE and x contains the estimates of the confidence intervals, these are plotted along with the survival function.

ltyCI

a graphical parameter defining the line type of the confidence interval. By default, ltyCI = 5 (dashed line).

...

optional arguments. Currently not in use.

See Also

turnbull.sb, turnbull.db, summary.turnbull


DCchoice documentation built on July 26, 2023, 6:11 p.m.