Hi Robert,
first of all, thank you for answering my question :)
that's my script with the error message of R.
Just to make you understand better:
'MED_MED' is the average temperature of my location of study;
'stazioniABR' is the database
'dtm' is the Digital Terrain Model that i use as raster backgound for
interpolation

vu<-variogram(MED_MED~ALTITUDE,stazioniABR)
plot(vu,type='b')
vu.fit<-fit.variogram(vu,vgm(model='Exp',range=10000,nugget=0,sill=6))
vu.fit
plot(vu,vu.fit,main='Fitted variogram Temperature~Altitude')
gUK<-gstat(NULL,'Temperature',MED_MED~ALTITUDE,stazioniABR,model=vu.fit)
gUK
UniversalKriging<-interpolate(dtm,gUK)
And the result is:
*
*
*>Error in eval(expr, envir, enclos) : objetct "ALTITUDE" not found*

*Also: Warning message:
closing unused connection 3
(/tmp/R_raster_tmp/maurizio/raster_tmp_2012-10-22_084546_57336.gri) *


I can't understand why, also because the universal kriging with the same
data and the rgdal packages was ok...

-- 
Maurizio Marchi
ID skype: maurizioxyz
*Ubuntu 12.04 (Precise Pangolin)*
*"Il bello dell'open-source è che le domande possono essere poste alla
fonte"*
*utente linux 552.742*

	[[alternative HTML version deleted]]

