plot.ubtrans: Plot Unbalanced Transport Information

View source: R/unbalanced.R

plot.ubtransR Documentation

Plot Unbalanced Transport Information

Description

Graphic representation of components of the list returned by unbalanced.

Usage

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

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.

Value

Nothing. Used for the side effect.

Examples

## Not run: 
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" )
## End(Not run)

transport documentation built on July 9, 2023, 7:43 p.m.