Hi
I am having problem when try to use the krige function in R.
I dont have duplicated points and the commands and the error message are:

> freg = arg.1~1 # regression formule> G<-gstat(id='dataset$ID', formula= freg, locations=~X+Y, data=dataset)> ev <- variogram(G, cressie=F, boundaries=c(seq(0,600,200),seq(800,5800,1000)))> vgm = fit.variogram(ev, vgm(4055, "Exp", 421,3774)) # adjustment> krige(id='dataset$ID', formula= freg, locations=~X+Y, data=dataset,newdata =dataset[,],model = vgm)[using ordinary kriging]

"chfactor.c", line 131: singular matrix in function LDLfactor()Error
in predict.gstat(g, newdata = newdata, block = block, nsim = nsim,  :
  LDLfactor


I have a database of 208 points of soils samples, and i am trying to use
gstat to estimate the clay content of surface layer.
I read that the error maybe because of 2 points at the same location, but
this is not the case.
If someone can help, I could pass the database to some tests.
Thank you
Waldir

-- 
________________________
Waldir de Carvalho Junior
Pedologia/Pedologue
Pesquisador/Chercheur
Embrapa Solos/INRA - UMR- LISAH

	[[alternative HTML version deleted]]

