Skip to content

phil-mcdowall/Analytic-Global-Envelopes-spatstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Phil McDowall September 16, 2016

Homogeneous poisson point process

points = spatstat::rpoispp(10,win=owin(xrange=c(0,10),yrange=c(0,10)))
pcf_points = AGEpcfPp(points,alpha=0.05,bw=0.01)
par(mfrow=c(1,2))
plot(points)
plot(pcf_points)

pcf_points$p
## [1] 0.9990582

Inhomogeneous poisson point process

points = spatstat::rpoispp(lambda=function(x,y){x^1.1},win=owin(xrange=c(0,10),yrange=c(0,10)))
pcf_points = AGEpcfPp(points,alpha=0.05,bw=0.01)
par(mfrow=c(1,2))
plot(points)
plot(pcf_points)

pcf_points$p
## [1] 0

About

Spatstat compatible Global Analytic Envelopes from Weigand et al. (2016)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages