[R] aboutRiply's K functionand envelope

2006-03-02 Thread Adrian Baddeley
Zhang Jian writes: I did Riply's K function and envelope in the package SPATSTAT. When the species number is less, it can work well and it is quickly. But when the species number is more(example:2000), it told mememory limit. If you have a query about a specific package, please ask the

[R] aboutRiply's K functionand envelope

2006-02-27 Thread zhang jian
hi! I did Riply's K function and envelope in the package SPATSTAT. When the species number is less, it can work well and it is quickly. But when the species number is more(example:2000), it told mememory limit. So I change memory limit. But the speed is very slow. I took 13 hours to run the

Re: [R] aboutRiply's K functionand envelope

2006-02-27 Thread Sundar Dorai-Raj
zhang jian wrote: hi! I did Riply's K function and envelope in the package SPATSTAT. When the species number is less, it can work well and it is quickly. But when the species number is more(example:2000), it told mememory limit. So I change memory limit. But the speed is very slow. I took

Re: [R] aboutRiply's K functionand envelope

2006-02-27 Thread zhang jian
I have tried the packagespatial and splance.But it is not good. I think there are some questions when I run the programs. I attach a part of data. can you help me try to do it? And attach a simple program to me. my plot is square, 500m*500m. PIKO[1:10,] code species dbh x y tag

Re: [R] aboutRiply's K functionand envelope

2006-02-27 Thread Sundar Dorai-Raj
So as not to offend the authors of spatial and splancs, please describe what not good means in this context? What is it about spatstat::envelope that cannot be achieved by spatial::Kenvl? Besides, the author of the K-function (Ripley himself) wrote the latter package. Here's an example:

Re: [R] aboutRiply's K functionand envelope

2006-02-27 Thread Roger Bivand
On Mon, 27 Feb 2006, zhang jian wrote: I have tried the packagespatial and splance.But it is not good. You are not correct. All three packages, spatial, splancs, and spatstat can be used, and, for the same bounding window, will give the same results. Your complain that spatstat has difficulties