Skip to content
Prev 1088 / 29559 Next

selection of data subsets in spatial classes

Yes, the grid coordinates reflect the c(0,5, 0,5)

 [1,] 617400.0 6190061.0
 [2,] 617400.5 6190061.0
 [3,] 617401.0 6190061.0
 [4,] 617401.5 6190061.0
 [5,] 617400.0 6190060.5
 [6,] 617400.5 6190060.5

But for some reason, when using the smaller cellsize my spplot of the
interpolated field all of a sudden only shows a subsection of the original
plot.

There are no error messages.

Karl



|---------+---------------------------->
|         |           Roger.Bivand at nhh.|
|         |           no               |
|         |                            |
|         |           09/06/2006 18:11 |
|         |           Please respond to|
|         |           Roger.Bivand     |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       karl.sommer at dpi.vic.gov.au                                                                                   |
  |       cc:       r-sig-geo at stat.math.ethz.ch                                                                                  |
  |       Subject:  Re: [R-sig-Geo]  selection of data subsets in spatial classes                                                |
  >------------------------------------------------------------------------------------------------------------------------------|
On Fri, 9 Jun 2006 karl.sommer at dpi.vic.gov.au wrote:

            
Good
I think this is a matter of screen representation:

coordinates(GridTopology(c(617400, 6190060), c(0.5,0.5), c(4, 3)))

looks wrong, but

print(coordinates(GridTopology(c(617400, 6190060), c(0.5,0.5), c(4, 3))),
  digits=10)

shows that the coordinate values were been rounded for display (is that
what you are seeing?)

Roger
------------------------------------------------------------------------------------------------------------------------------|
|
|
|
classes                                                |
------------------------------------------------------------------------------------------------------------------------------|
In
the
a
as
you
------------------------------------------------------------------------------------------------------------------------------|
spatial
------------------------------------------------------------------------------------------------------------------------------|
data.frame
to
inter-row
to
of
--
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