[R-sig-Geo] create a grid data
Takatsugu Kobayashi
tkobayas at indiana.edu
Tue Sep 19 01:30:15 CEST 2006
Dear Dr. Bivand:
I do have both datasets. I will try interp() for an irregularly spaced data.
On Fri, 25 Aug 2006 [EMAIL PROTECTED] wrote:
> Dear R users-
>
>
> I have a dataset that has X, Y and other values (Zs) attached to points
> (X,Y). To show a map of this dataset, a matrix of Zs should be created
> because I would like to use filled.contour function.
Do your x,y coordinates form a grid, or are they irregularly spaced? If
so, you need to interpolate to a grid, for example using interp() in the
akima package.
>
> Is there any recommendation to go about this?
>
> Thanks you very much
>
> Taka
> R-2.3.1
>
> _______________________________________________
> 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: [EMAIL PROTECTED]
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list