plot.dbv.cartogramR: Plot a dbv.cartogram object
Description
Plot a dbv.cartogram object
Usage
# S3 method for dbv.cartogramR
plot(x, which = 1:2, ask = TRUE, key = TRUE, last = 10, probminx = 0.9, ...)
Value
No return value, called for side effects
Arguments
- x
a dbv.cartogram object
- which
if a subset of the plots is required, specify a subset of the
numbers 1:2
- ask
logical; if TRUE, the user is asked before each plot, see
par(ask=.)
- key
logical; if TRUE, a legend is drawn
- last
draw the density of distance between vertices for the last
coordinates
- probminx
the sample quantiles (of distance between vertices)
corresponding to the probability is used as a minimum
of x-axis for the density plot (used only if last is NULL)
- \dots
arguments passed to or from other methods.
Details
The first plot is the density of distance between
consecutive vertice by region. Only the upper quantiles
are shown. The second plot is a barplot by region of the
number of vertice divided by the perimeter of the region
Examples
Run this code data(usa)
precarto <- precartogramR(usa, method="dcn")
plot(precarto)
Run the code above in your browser using DataLab