Re: [R] Generating raster simulations

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Sun 08 Jan 2006 - 03:18:45 EST

Steven K Friedman wrote:

> Greetings,
>
> I'm trying to find a function to generate a random landscape consisting of x
> by y cells, allows a specification of number of classes and their
> proportional abundance in the landscape.
>
> Does R support such a function ?

  1. I do not know.
  2. A look at the many packages on spatial statistics might reveal some already existing packages.
  3. Question: Can one cell contain more than one object (e.g. objects of two different classes)? Ideas:
    • If "No": sample() and make a matrix
    • If "Yes": sample() a logical matrix in for each class and make an array, if there are not too many classes.

Uwe Ligges

> Thanks in advance
>
> Steve
>
> Steve Friedman, Assistant Professor
> Center for Global Change and Earth Observations
> Michigan State University
> East Lansing, Michigan 48824
> Phone - 517 - 648 - 6290
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jan 08 03:33:12 2006

This archive was generated by hypermail 2.1.8 : Sun 08 Jan 2006 - 06:21:43 EST