[STATSGRASS] R: east() north()

javier garcia rn001 at cebas.csic.es
Tue Apr 29 03:23:40 EDT 2003


Hello;
I'm learning to use R along with GRASS (Versions: R 1.6.2  GRASS 5.0.2   
R-GRASS 0.2.8) 
Trying to understand the use of 
east() and north(), I've done:
-------------------------------------------

> summary(east(G))
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
 632200  647200  662100  662100  677000  692000
> summary(north(G))
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
4164000 4172000 4181000 4181000 4190000 4199000
> system("g.region -p")
projection: 1 (UTM)
zone:       30
datum:      ** unknown (default: WGS84) **
ellipsoid:  international
north:      4198600
south:      4163700
west:       632200
east:       692000
nsres:      50
ewres:      50
rows:       698
cols:       1196
--------------------------------------------------------
I can't see the meaning of north() and east().
If east were the east of each cell in the grid, the result should be 
something like:
> summary(east(G))
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
 632250  ...                                            692000
In other hand, if north() and east() are referring to coordinates of cell in 
the selected region. What's the matter with the summary of north()? It hasn't 
anything to do with the boundaries of the region, not like east().

Could you help with this?

Thanks and regards;

Javier






More information about the grass-stats mailing list