[R] Worm distribution :-)

rolf at math.unb.ca rolf at math.unb.ca
Mon Oct 23 19:50:53 CEST 2006


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
				rolf at math.unb.ca



More information about the R-help mailing list