Description Usage Arguments See Also Examples
This function summarises the content of a 'sample.pl´ object.
1 | summary(samp, digits = 5)
|
samp |
object of class 'sample.pl´. |
digits |
number of significant figures that numbers are rounded to for display |
generate.sample.pl
to create sample objects
plot.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)
summary(pl.samp)
plot(pl.samp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.