[R-sig-Geo] Kriging on "srtm" data

Roger Bivand Roger.Bivand at nhh.no
Fri Jan 19 13:04:00 CET 2007


On Fri, 19 Jan 2007, epifanio wrote:

>          hi i've some problem to do a tutorial on the kriging  
> interpolation
>          i found instruction on how to interpolate the srtm data to  
> increase the resolution :
> 
> 	http://grass.itc.it/newsletter/GRASS_OSGeo_News_vol4.pdf
> 
> 	at page 20 ...  at the line :
> 
>         grd <- GridTopology(cellcentre.offset=c(G\$west+(G\$ewres/2),
>         G\$south+(G\$nsres/2)),cellsize=c(G\$ewres, G\ 
> $nsres),cells.dim=c(G\$cols, G\$rows));
> 

Perhaps the LaTeX \$ markup which got though into the published version is 
the problem? Try removing the backslashes?

> cars$speed
 [1]  4  4  7  7  8  9 10 10 10 11 11 12 12 12 12 13 13 13 13 14 14 14 14 
15 15
[26] 15 16 16 17 17 17 18 18 18 18 19 19 19 20 20 20 20 20 22 23 24 24 24 
24 25
> cars\$speed
Error: syntax error in "cars\"

Roger

> 
>        i have a sintax error in grid function.
> 
> i'm missing or wrong something?
> 
> thanks for any suggestion :-)
> 
> Massimo.
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-sig-Geo mailing list