Learn R Programming

SEHmodel (version 0.0.11)

plot,Landscape,Individuals-method: plot Landscape & Individuals method

Description

Plots using Landscape & Individuals objects.

Usage

"plot"(x, y, time = -1, objectT = NULL, numind = -1, add = F, ..., plot.legend = TRUE)

Arguments

x
A Landscape object
y
An Individuals object
time
Time selection (default = -1) for Toxic intensity
objectT
ToxicIntensityRaster, 3D array (result of toxicIntensity, default NULL)
numind
an individual ID
add
Boolean to draw hover an another plot
...
default plot parameters (par)
plot.legend
plot legend (default TRUE)

Details

If objectT and numind are informed, the function will draw an individual ecoToxical plot.

If objectT and time are specified, the function will draw the landscape, the individuals states and the toxic intensity at this time of the simulation. By default this function will draw the landscape and the individuals positions.