[R] Neyman-Scott cluster process

linda.s samrobertsmith at gmail.com
Fri Mar 17 08:57:34 CET 2006


Hi there,
I want to generate a random point pattern using the Neyman-Scott
cluster process using spatstat package in R. After running the
following procedures, why i can not see any figures?
> nclust <-  function(x0, y0, radius, n) {return(runifdisc(n, radius, x0, y0))}
> nclust
function(x0, y0, radius, n) {return(runifdisc(n, radius, x0, y0))}
> X <- rNeymanScott(10, 0.2, nclust, radius=0.2, n=5)
> X
 planar point pattern: 67 points
window: rectangle = [ 0 , 1 ] x [ 0 , 1 ]
>
Linda




More information about the R-help mailing list