You are talking about random point patterns, since the glow-worms
appear as ``stars'' (= points). See the package ``spatial'' (which
comes with R) and try simulating a pattern using Strauss().
Or install the package ``spatstat'' from CRAN --- in this package
there is a variety of ways to simulate ``regular'' random point
patterns --- rMaternI, rMaternII, rSSI, and rmh (which simulates
several point pattern models depending on the specified Papangelou
conditional intensity function).
cheers,
Rolf Turner
[EMAIL PROTECTED]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.