Re: [R-sig-Geo] predict() LDL error

2011-07-18 Thread Matevž Pavlič
that column (prediction) I hope I explained it ok, if not i'll try more… Thanks for the hlep, m From: romu...@gmail.com [mailto:romu...@gmail.com] On Behalf Of Roman Luštrik Sent: Monday, July 18, 2011 11:21 AM To: Matevž Pavlič Subject: Re: [R-sig-Geo] predict() LDL error

Re: [R-sig-Geo] predict() LDL error

2011-07-18 Thread Matevž Pavlič
ot;right") i get the same error : Error in parse(text = x) : :1:3: unexpected symbol 1: 0.pred ^ thanks for help,m From: caspar hallmann [mailto:caspar.hallm...@gmail.com] Sent: Monday, July 18, 2011 8:58 AM To: Matev¾ Pavliè Subject: Re: [R-sig-Geo] predict() LDL error H

Re: [R-sig-Geo] predict() LDL error

2011-07-18 Thread caspar hallmann
> print(spplot(z, zcol=which(names(z)=="0.pred")), > col.regions=terrain.colors(64), contour=T, pretty=T, cuts=8, > key.space="right") > > > > i get the same error : > > Error in parse(text = x) : :1:3: unexpected symbol > > 1: 0.pred > >

Re: [R-sig-Geo] predict() LDL error

2011-07-18 Thread Matevž Pavlič
elp,m From: caspar hallmann [mailto:caspar.hallm...@gmail.com] Sent: Monday, July 18, 2011 8:58 AM To: Matev¾ Pavliè Subject: Re: [R-sig-Geo] predict() LDL error Hi Matev¾ try: print(spplot(z, zcol=which(names(z)=="0.pred")), col.regions=terrain.colors(64), contour=T, pret

Re: [R-sig-Geo] predict() LDL error

2011-07-17 Thread Matevž Pavlič
...and attachement... r, m -Original Message- From: r-sig-geo-boun...@r-project.org [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Matevž Pavlič Sent: Monday, July 18, 2011 8:47 AM To: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] predict() LDL error Hi Edzer, thanks for the

Re: [R-sig-Geo] predict() LDL error

2011-07-17 Thread Matevž Pavlič
15, 2011 11:15 AM To: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] predict() LDL error to remove duplicates in DF you need to replace it: DF = remove.duplicates(DF, zero=0, remove.second = TRUE) zerodist(DF) On 07/15/2011 10:23 AM, Matevž Pavlič wrote: > Hi, thanks for your time

Re: [R-sig-Geo] predict() LDL error

2011-07-15 Thread Edzer Pebesma
39 440 > [6,] 731 732 > [7,] 817 818 > [8,] 820 821 > > it stays the same...shouln't it remove the duplicates? > > > thanks, m > > -Original Message- > From: r-sig-geo-boun...@r-project.org > [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Ed

Re: [R-sig-Geo] predict() LDL error

2011-07-15 Thread Matevž Pavlič
] 820 821 it stays the same...shouln't it remove the duplicates? thanks, m -Original Message- From: r-sig-geo-boun...@r-project.org [mailto:r-sig-geo-boun...@r-project.org] On Behalf Of Edzer Pebesma Sent: Thursday, July 14, 2011 11:25 PM To: r-sig-geo@r-project.org Subject: Re: [R-si

Re: [R-sig-Geo] predict() LDL error

2011-07-14 Thread Edzer Pebesma
The error message is an indication that you're predicting (kriging) with a singular covariance matrix. The most frequent reasons for this are duplicate observations [1] or perfect correlation in the coregionalization model [2]. For [1], see ?remove.duplicates, for [2] see argument correct.diagonal

[R-sig-Geo] predict() LDL error

2011-07-14 Thread Matevž Pavlič
Hi all, i am trying to use categorical kriging for prediction of soil classes in an area. I am pretty new to using cat. kriging in R soI probably am making some beginers mistakes. Attached is a reproducable sample with sample data. When i try to use predict() i geta n error- I am pretty