plot.dbv.cartogramR: Plot a dbv.cartogram object

View source: R/plot.dbv.cartogramR.R

plot.dbv.cartogramRR Documentation

Plot a dbv.cartogram object

Description

Plot a dbv.cartogram object

Usage

## S3 method for class 'dbv.cartogramR'
plot(x, which = 1:2, ask = TRUE, key = TRUE, last = 10, probminx = 0.9, ...)

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

Value

No return value, called for side effects

Examples

  data(usa)
  precarto <- precartogramR(usa, method="dcn")
  plot(precarto)


cartogramR documentation built on Oct. 18, 2022, 5:08 p.m.