plot.sbchoice: Plotting sbchoice objects

plot.sbchoiceR Documentation

Plotting sbchoice objects

Description

Plotting method for objects of class "sbchoice".

Usage

## 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

## See Examples in sbchoice.

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