plot.sbchoice: Plotting sbchoice objects

Description Usage Arguments Details See Also Examples

View source: R/plot.sbchoice.R

Description

Plotting method for objects of class "sbchoice".

Usage

1
2
3
## S3 method for class 'sbchoice'
plot(x, type = NULL, main = NULL, sub = NULL, xlab = NULL, 
ylab = NULL, lwd = NULL, lty = NULL, xlim = NULL, ylim = NULL, bid = NULL, ...)

Arguments

x

an object of class "kristrom".

type

type of plot.

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 = "Probability of selecting yes" 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.

xlim

the x limits of the plot.

ylim

the y limits of the plot.

bid

the bid limits should be drawn. If missing, the minimum and maximum values of the bid variable(s) in the original dataset is used.

...

optional arguments.

Details

The function plot() draws choice probabilities of yes according to the range of bid (covariates are set on average).

See Also

sbchoice

Examples

1
## See Examples in sbchoice.

DCchoice documentation built on May 29, 2017, 11:26 a.m.

Search within the DCchoice package
Search all R packages, documentation and source code