Displaying 4 results from an estimated 4 matches for "spatialdataframe".
2003 Oct 31
0
A package for spatial data classes: request for comments
...t, called r-spatial. I first worked with Barry Rowlinson's
spatial.data.frame (found in r-asp, or rasp, also on sourceforge),
which is an S3 class. Then I restarted using S4 classes, because
they are here to stay, and allow validation.
Currently I defined three classes:
+ SpatialData
+-- SpatialDataFrame
+-- SpatialDataFrameGrid
SpatialData is only meant as a base class; it only contains a bounding
box (2D or 3D data), and information about projection (if present),
anticipating (re)projecting facilities in Roger's proj4R package.
SpatialDataFrame extends this class; holds a data frame...
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
...r-spatial/ beta releases for the upcoming
package sp are available; sp provides classes and methods for spatial data.
Instead of:
> library(gstat)
> data(meuse)
> variogram(zinc~1, ~x+y, meuse)
you could, with package sp loaded, do:
> coordinates(meuse) = ~x+y # promotes meuse to SpatialDataFrame
> variogram(zinc~1, meuse) # no coordinates required.
In addition, sp provides classes for gridded data and polygon data. With sp
loaded, gstat can calculate variogram maps.
Any comments are welcome,
--
Edzer
_______________________________________________
R-packages mailing list
R-packages...
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
...r-spatial/ beta releases for the upcoming
package sp are available; sp provides classes and methods for spatial data.
Instead of:
> library(gstat)
> data(meuse)
> variogram(zinc~1, ~x+y, meuse)
you could, with package sp loaded, do:
> coordinates(meuse) = ~x+y # promotes meuse to SpatialDataFrame
> variogram(zinc~1, meuse) # no coordinates required.
In addition, sp provides classes for gridded data and polygon data. With sp
loaded, gstat can calculate variogram maps.
Any comments are welcome,
--
Edzer
_______________________________________________
R-packages mailing list
R-packages...
2004 Apr 02
1
Winding Number
I have shapefiles for the state climatic divisions for the United States
and read.shape brings them in wonderfully. Now I wish to run through a
list of several thousand observation sites to find out in which division
each is located. I figure that I can compute the winding number for each
site and be done. However a search doesn't find any references and I
can't find a winding number