thin {highriskzone} | R Documentation |
Thinning of the observations (for evaluating the method)
Description
The thinning is done by drawing independently from a Bernoulli distribution. This function is needed for functions eval_method, sim_clintens, sim_intens
Usage
thin(full, nxprob)
Arguments
full |
all observations of the point pattern |
nxprob |
probability of having unobserved events |
Value
A list of observed and unobserved point patterns. Both of class ppp.
See Also
Examples
data(craterB)
thdata <- thin(craterB, nxprob=0.1)
thdata
plot(thdata$observed); points(thdata$unobserved, col=4)
[Package highriskzone version 1.4.9 Index]