Learn R Programming

riverplot (version 0.10)

riverplot.example: Generate examples for riverplot

Description

Generate an example for riverplot

Usage

riverplot.example(no = 1)

Arguments

no

which example to generate

Details

The plotting functions in the riverplot package work on an object of the riverplot class. This function returns an object of the riverplot class to demonstrate how such an object (which is actually a simple list) can be created.

Examples

Run this code
# NOT RUN {
x <- riverplot.example()
plot( x )
x <- riverplot.example(no=2)
riverplot(x, lty=1, plot_area=1, disentangle=TRUE, 
   gravity="c", default_style=list(nodestyle="invisible"))
# }

Run the code above in your browser using DataLab