[R-sig-Geo] krige error

Paul Hiemstra paul.hiemstra at knmi.nl
Tue Aug 23 09:20:13 CEST 2011


 Dear Matevz,

Please provide us with a reproducible example. At this stage we can only
guess what is going wrong.

regards,
Paul

On 08/20/2011 02:50 PM, Matevž Pavlič wrote:
> Hi all, 
>
>  
>
> i am having problems with krige() predisction. When i use this line :
>
>  
>
>> Mag.K<-krige(DF1$MGCN_IGRF~1, DF1[-zerodist(DF1)[,1],], grd, vmfMag, nmax=nmx)
> Error: too few spatial dimensions: 0
>
> In addition: Warning messages:
>
> 1: In min(x) : no non-missing arguments to min; returning Inf
>
> 2: In max(x) : no non-missing arguments to max; returning -Inf
>
> 3: In min(x) : no non-missing arguments to min; returning Inf
>
> 4: In max(x) : no non-missing arguments to max; returning -Inf
>
>  
>
> I get : Too few spatial dimension : 0 error
>
>  
>
> When i use IDW it works perfectly....Any ideas?
>
>  
>
> regards, m
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo


-- 
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494

http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-sig-Geo mailing list