Learn R Programming

bisoreg (version 1.1)

plot.biso: Plot a biso object

Description

Plots the data and the fit a Bayesian monontoic regression function (with optional confidence bands)

Usage

## S3 method for class 'biso':
plot(x, xnew, cl = TRUE, add = FALSE, color ="red", \dots)

Arguments

x
a biso object
xnew
x values at which to plot the regression fit. If missing, the function uses the orginal x values
cl
plot confidence bands (default is TRUE)
add
add a line to the existing plot rather than create a new plot (default is FALSE)
color
color of the fitted line (default is red)
...
other options to pass to the plotting functions

Value

  • Returns a plot.

Details

None.

References

None.

See Also

bisoreg

Examples

Run this code
## See examples for bisoreg

Run the code above in your browser using DataLab