[R] Simulation of a particular type of population
Giovanni Petris
GPetris at uark.edu
Thu Jan 24 19:00:27 CET 2002
The function pcp.sim in package splancs simulate a Poisson cluster
process. It may be a starting point. It doesn't do the reflection
part, though.
Best,
Giovanni
>
> Does anyone have any R code or suggestions on how to generate a population
> that follows a Neyman-Scott process? More specifically, I'd like to
> randomly generate both the parents and the children from Poisson
> distributions and the children locations from a bivariate normal onto an
> N by N grid. If the locations spill over outside the grid, then I'd like
> to reflect those locations back into the grid. Thanks for any advice.
>
> Phil Turk
--
__________________________________________________
[ ]
[ Giovanni Petris GPetris at uark.edu ]
[ Department of Mathematical Sciences ]
[ University of Arkansas - Fayetteville, AR 72701 ]
[ Ph: (501) 575-6324, 575-8630 (fax) ]
[ http://definetti.uark.edu/~gpetris/ ]
[__________________________________________________]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list