Description Usage Arguments Value See Also Examples
This function generates a graphical representation of the specified 'density.population´ object.
1 | plot.density.population(dens, method = "persp", eye.horiz = 330, eye.vert = 35, ...)
|
dens |
object of class 'density.population´. |
method |
used plot method. Possible methods are
* |
eye.horiz |
horizontal plot rotation (in degrees). Only used with "persp" |
eye.vert |
vertical plot rotation (in degrees). Only used with "persp" |
... |
extra plot arguments |
a list containing the following elements
reg |
study region object |
n.interval.x |
the number of units of along the x axis. Equal to the number 'nint.x', passed to the |
n.interval.y |
the number of units of along the y axis. Equal to the number 'nint.y', passed to the |
matrix |
A matrix of the densities in the area. N.B. It is very large |
parents |
details of the WiSP objects passed to the function |
created |
The date and time the object was created |
generate.region
, generate.density
summary.density.population
1 2 3 4 5 6 7 8 | reg<-generate.region(x.length = 50, y.width = 80)
dens <- generate.density(reg, nint.x = 50, nint.y = 40, southwest = 1, southeast = 10, northwest = 20)
plot(dens, method = "persp") # show perspective plot
plot(dens, method = "image") # show image plot
# plot with different vertical and horizontal rotation
plot(dens, method = "persp", eye.horiz= 30, eye.vert = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.