make_rpois_num: Generate a Poisson stationary set of N points within the...

Description Usage Arguments Value Examples

View source: R/initial_pop.R

Description

Generate a Poisson stationary set of N points within the observation window owin. The intensity of the points is given by N / area(owin)

Usage

1
make_rpois_num(N, owin)

Arguments

N

Number of points in the population

owin

The observation window

Value

A .ppp point pattern based on the rpoispp (spatstat) function

Examples

1
2
3
pts <- make_rpois_num(5,
                      owin=owin(xrange=c(-10,10),
                                yrange=c(-10,10),unitname="metre"))

pwhigham/spatibm documentation built on Aug. 30, 2019, 1:16 p.m.