Re: [R] Random Cluster Generation Question

2009-04-09 Thread David Winsemius
Try: > clust <- rMatClust(10, 0.05, 50) > plot(clust) > Y <- rThomas(10, 0.05, 50) > plot(Y) On Apr 9, 2009, at 7:28 PM, Jason L. Simms wrote: Hello, Thanks for your note. I recognize that the points per cluster is random, and also that it is possible to set the mean number of points per clu

Re: [R] Random Cluster Generation Question

2009-04-09 Thread Jason L. Simms
Hello, Thanks for your note. I recognize that the points per cluster is random, and also that it is possible to set the mean number of points per cluster through the function. What I was hoping was that I could specify a maximum number of points overall across all clusters, but conceptually I do

Re: [R] Random Cluster Generation Question

2009-04-09 Thread David Winsemius
On Apr 9, 2009, at 5:01 PM, Jason L. Simms wrote: Hello, I am fairly new to R, but I am not new to programming at all. I want to generate random clusters in a 1,000x1,000 box such that I end up with a total of about 2,000 points. Once done, I need to export the X,Y coordinates of the points.

[R] Random Cluster Generation Question

2009-04-09 Thread Jason L. Simms
Hello, I am fairly new to R, but I am not new to programming at all. I want to generate random clusters in a 1,000x1,000 box such that I end up with a total of about 2,000 points. Once done, I need to export the X,Y coordinates of the points. I have looked around, and it seems that the spatstat