Description Usage Arguments Details See Also Examples
This function generates a graphical representation of the specified 'sample.pl´ object.
1 |
samp |
object of class 'sample.pl´. |
show.sizes |
if TRUE different animal group sizes are shown as dots of different sizes. |
show.exps |
if TRUE different group exposures are shown in different shading. |
dsf |
enlargement factor for group dots. |
whole.population |
if TRUE undetected animal groups will be shown in black, as well as detected animal groups shown in red |
This function displays the result of a survey sample. It shows a picture of the region, the survey units and indicates the detected animal groups as red dots.
generate.sample.pl
, summary.sample.pl
1 2 3 4 5 6 7 8 9 10 11 12 13 | pl.reg <- generate.region(x.length = 100, y.width = 50)
pl.dens <- generate.density(pl.reg)
pl.poppars<-setpars.population(density.pop=pl.dens, number.groups = 100, size.method = "poisson",
size.min = 1, size.max = 5, size.mean = 1, exposure.method = "beta",
exposure.min = 2, exposure.max = 10, exposure.mean = 6, exposure.shape = 1)
pl.pop <- generate.population(pl.poppars, seed=456)
pl.despars<-setpars.design.pl(pl.reg, n.interval.x = 10, n.interval.y = 20,method = "random", area.covered = 0.2)
pl.des <- generate.design.pl(pl.despars, seed=789)
pl.samp<-generate.sample.pl(pl.pop, pl.des, seed=101112)
plot(pl.samp)
plot(pl.samp, whole.population=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.