Learn R Programming

rv (version 0.949)

abline: Add (Random) Straight Lines to a Plot

Description

abline, with random arguments, plots a sample of lines corresponding to of simulations of rv object x.

Usage

abline (a = NULL, b = NULL, h = NULL, v = NULL, ...)

Arguments

a
...
b
...
h
...
v
..
...
further arguments passed to or from other methods

Details

This is a version of abline that accepts random variable objects for the arguments a, b, h, or v.

The number of lines is determined by rvpar("line.sample"), default 20.

The original help page is here: abline. EXPERIMENTAL.

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

Run this code
demo("rvexample1")

Run the code above in your browser using DataLab