Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.turnbull

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


DCchoice

Analyzing Dichotomous Choice Contingent Valuation Data

v0.0.17
GPL (>= 2)
Authors
Tomoaki Nakatani [aut, cph] (original developer), Hideo Aizaki [aut, cre] (code patches), Kazuo Sato [ctb] (theoretical part of the manual)
Initial release
2020-09-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.