plot,DeponsBlockdyn,missing-method {DEPONS2R} | R Documentation |
Plot a DeponsBlockdyn object
Description
Plot population dynamics simulated with DEPONS
Usage
## S4 method for signature 'DeponsBlockdyn,missing'
plot(x, y, dilute = 5, ...)
Arguments
x |
DeponsBlockdyn object |
y |
Not used |
dilute |
Integer. Plot only one in every 'dilute' values. Defaults to 5, which yields a plot of the first simulated value and one in every five of the following values. |
... |
Optional plotting parameters |
Value
data.frame
listing blocks where no animals were counted
(returned invisibly)
Note
The function returns a data frame with numbers of blocks with no agents.
Examples
data("porpoisebdyn")
my.col <- c("red", "darkgreen", "orange")
plot(porpoisebdyn, col=my.col)
legend("bottomright", bty="n", fill=my.col, legend=paste("Block", 0:2))
# Show all data points for small range of x-values
plot(porpoisebdyn, xlim=c(1950, 2050), ylim=c(4850, 5050), type="p", dilute=1, col=my.col)
[Package DEPONS2R version 1.2.3 Index]