[R-sig-Geo] error in indicator variogram

adeela uaf adeela.uaf at gmail.com
Wed Sep 9 19:14:01 CEST 2015


Hi memebers,

I am trying to do indicator kriging, so, fitting indicator variogram.

c1 <- ifelse(mt$Cd15 > 0.34, 1 , 0)

q <- gstat(id="c1", formula=c1~1,  data=mt)

v.fit <- fit.variogram(variogram(q), vgm(psill=0.2,"Wav",nugget=0,
range=12))

plot(variogram(q),v.fit)

but receiving a vary poor model fit. On any other model and parameter
values receiving this error
Warning message:
In fit.variogram(variogram(q), vgm(psill = 0.2, "Sph", nugget = 0,  :
  Warning: singular model in variogram fit

Regards

Adeela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150909/5b9a083d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variogram.pdf
Type: application/pdf
Size: 2774 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150909/5b9a083d/attachment.pdf>


More information about the R-sig-Geo mailing list