Re: [R] grid with random or clustered distribution

2015-09-09 Thread SH
Thank you so much! I will try it! On Wed, Sep 9, 2015 at 3:27 PM, Sarah Goslee wrote: > > ### simulate landscapes with spatial autocorrelation ### > ### Sarah Goslee 2015-09-09 ### > ### Goslee 2006 PLANT ECOL

Re: [R] grid with random or clustered distribution

2015-09-09 Thread Sarah Goslee
### simulate landscapes with spatial autocorrelation ### ### Sarah Goslee 2015-09-09 ### ### Goslee 2006 PLANT ECOLOGY 187(2):203-212 ### library(gstat

Re: [R] grid with random or clustered distribution

2015-09-09 Thread SH
Hi Sarah, Thanks for your prompt responding. The methodology in the publication is very similar to what I plan to do. Yes, could you be willing to share the code if you don't mind? Thanks a lot again, Steve On Wed, Sep 9, 2015 at 9:11 AM, Sarah Goslee wrote: > You can use gstat, as in: > >

Re: [R] grid with random or clustered distribution

2015-09-09 Thread Sarah Goslee
You can use gstat, as in: https://www.researchgate.net/publication/43279659_Behavior_of_Vegetation_Sampling_Methods_in_the_Presence_of_Spatial_Autocorrelation If you need more detail, I can dig up the code. Sarah On Wed, Sep 9, 2015 at 8:49 AM, SH wrote: > Hi R-users, > > I hope this is not red

[R] grid with random or clustered distribution

2015-09-09 Thread SH
Hi R-users, I hope this is not redundant questions. I tried to search similar threads relevant to my questions but could not find. Any input would be greatly appreciated. I want to generate grid with binary values (1 or 0) in n1 by n2 (e.g., 100 by 100 or 200 by 500, etc.) given proportions of