plot | R Documentation |
Methods for plotting objects of class pgrid, pp and wpp, possibly together with a transference plan.
## S3 method for class 'pgrid'
plot(x, y = NULL, tplan = NULL, mass = c("colour", "thickness"),
length = 0.1, angle = 5, acol, bcol = 4, pcol="goldenrod2", lwd, pmass=TRUE,
rot = FALSE, overlay = FALSE, static.mass =TRUE, ...)
## S3 method for class 'pp'
plot(x, y = NULL, tplan = NULL, cols = c(4, 2), cex = 0.8,
acol = grey(0.3), lwd = 1, overlay = TRUE, ...)
## S3 method for class 'wpp'
plot(x, y = NULL, tplan = NULL, pmass=TRUE, tmass=TRUE, cols = c(4, 2),
cex = 0.8, aglevel = 0.4, acol = grey(0.3), lwd = 1, overlay = TRUE, ...)
x , y |
one or two objects of class |
tplan |
a transference plan between the two objects |
mass , pmass , tmass |
for |
length |
the length of the arrow heads in inches. |
aglevel |
for |
acol |
the colour of the arrows/lines of the transference plan. Ignored for |
angle |
the angle of the arrow heads. |
bcol |
the colour of the cell boundaries for a semidiscrete transport plan. Ignored in all other instances. |
pcol |
the colour of the points representing the discrete masses for a semidiscrete transport plan. Ignored in all other instances. |
cols |
for |
cex , lwd , ... |
further graphic parameters used by plot. Note that for pgrid objects
|
rot |
logical. Whether the mass matrices of pgrid objects should be rotated before calling
|
overlay |
in the case of two objects |
static.mass |
for a transference plan that explicitly lists the “static mass transports” (i.e.
mass that stays at the same site), should these transports also be plotted as disks
with colours/sizes corresponding to the amount of mass that stays? |
Used for its side effect.
Dominic Schuhmacher dschuhm1@uni-goettingen.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.