Learn R Programming

transport (version 0.15-4)

plot.ut_pgrid: Plot Unbalanced Transport Information

Description

Graphic representation of components of the list returned by unbalanced.

Usage

# S3 method for ut_pgrid
plot(x, what = c("plan", "extra", "trans", "inplace"), axes = FALSE, ...)

Value

Nothing. Used for the side effect.

Arguments

x

the list returned by unbalanced with option output="all".

what

character. The aspect of the unbalanced transport information to display.

axes

logical. Whether to plot axes (ignored for what="plan").

...

further graphics parameters passed to plot.pgrid for what="plan" and passed to matimage in all other cases.

Examples

Run this code
if (FALSE) {
res <- unbalanced( random32a, random32b, p=1, C=0.2, output="all" )
plot( res, what="plan", lwd=1.5, angle=20 )
plot( res, what="trans" )
plot( res, what="extra" )
plot( res, what="inplace" )}

Run the code above in your browser using DataLab