[R-users] making a grid (fields?)

Matt Pocernich pocernic@rap.ucar.edu
Thu, 15 May 2003 16:15:38 -0600 (MDT)


Hi,

I was wondering if there is an easy way to do the following with the
fields package.  I have the following data from an icing model (see data
below).  I would like to plot i.x by i.y, with the cells shaded to reflect
the maximum values of i.ice (on a [0,1] scale.  I would like the surface
not to be kriged, but rather the have the cells visible.  Any thoughts if
I should be looking in the fields library?

Thanks,

Matt

   i.x  i.y i.z        ice
1  108  62  10         0
2  108  62  11         0
3  108  62  12         0
4  108  62  13         0.13
5  108  62  14         0
6  108  62  15         0
7  108  62  16         0.8
8  108  62  17         0
9  108  62  18         0
10 108  62  19         0.3

Matt Pocernich
NCAR - Research Applications Program
303-497-8312