plotColonyNet: Plot the population network in space

Description Usage Arguments

Description

Plot showing the colonies, and the edges between them, with line thickness indicating weight.

Plot showing the weight of edges by colouring the adjacency matrix.

Usage

1
2
3
4
plotColonyNet(pop, lwd = 1.2, axes = FALSE, col = 1, area = NULL,
  alpha = 0.1, lowgrey = 0, highgrey = 0.4, ...)

colonyHeat(weightMatrix)

Arguments

pop

A metapopulation object as created by makePop().

lwd

Relative line width. This value is scaled to a reasonable value.

axes

If set to FALSE, don't plot any axes

col

Point colours. Either value 1 or 2 for presets or a length two vector giving the line and fill colours.

area

The length of the sides of the plotting area. Either a length 2 numeric giving the x and y lengths, or a length one numeric giving the length of both.

alpha

Transparency level in range (0, 1).

lowgrey

Lower limit for grey colours used in lines (between 0 and 1).

highgrey

Upper limit for grey colours used in lines (between 0 and 1 and greater than lowgrey).

...

Further arguments to par.

weightMatrix

A matrix


timcdlucas/MetapopEpi documentation built on May 31, 2019, 1:47 p.m.