Skip to content
Prev 12896 / 29559 Next

about ST kriging

Hi Edzer,

Thank you very much for your mail. I found two records have identical location, but it is not my fault because I checked the original source data and it is erroneous. 

Now I have another problem; R gives another error message:
Error: cannot allocate vector of size 95.4 Mb

My computer includes 32-bit Windows and  3,5 GB RAM. I am not sure if I install 64-bit Windows, then the problem is solved? Or maybe I should minimize the data. Do you have any idea about it?

Best wishes,
Pinar

-----Original Message-----
From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Edzer Pebesma
Sent: Wednesday, September 21, 2011 3:46 PM
To: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] about ST kriging

Hi Pinar,

it is not clear which variogram model you pass, or how your data are
laid out in space and time.

Possible causes for a non-positive definite covariance matrix include:

- a variogram model with (nearly) perfect correlation
- duplicate observations (observations having identical location AND time)
- an invalid variogram model

A small, reproducible example (data + script) would help identify the
problem.

Best regards,
--
Edzer
On 09/20/2011 11:15 AM, P?nar Aslantas Bostan wrote: