Displaying 2 results from an estimated 2 matches for "rmaterni".
Did you mean:
rmaternii
2006 Oct 23
1
Worm distribution :-)
...r 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
2008 Apr 26
6
quasi-random sequences
Dear list useRs,
I have to generate a random set of coordinates (x,y) in [-1 ; 1]^2
for say, N points. At each of these points is drawn a circle (later
on, an ellipse) of random size, as in:
> N <- 100
>
> positions <- matrix(rnorm(2 * N, mean = 0 , sd= 0.5), nrow=N)
> sizes<-rnorm(N, mean = 0 , sd= 1)
> plot(positions,type="p",cex=sizes)
My problem is to