Description Usage Arguments Details Value See Also
Some usual R methods for objects of class
GeoContainer
.
1 2 3 4 5 6 7 8 9 | as_spatial_points(x, ...)
as_spatial_points_data_frame(x, ...)
## S4 method for signature 'GeoContainer'
as_spatial_points(x)
## S4 method for signature 'GeoContainer'
as_spatial_points_data_frame(x)
|
x |
a |
... |
further arguments passed to or from methods. |
Generic functions as_spatial_points()
and
as_spatial_points_data_frame()
do not exist in package
sp. They are defined here for convenience, with methods specific to
the GeoContainer
class.
Return value depends on the function used.
as_spatial_points()
returns an object of class
sp::SpatialPoints
.
as_spatial_points_data_frame()
returns an object of class
sp::SpatialPointsDataFrame
. The spatial
coordinates are kept in slot data
.
Other GeoContainer:
GeoContainer-accessors
,
GeoContainer-class
,
GeoContainer-validators
,
is_geocontainer()
Other Spatial-tools:
CRS-methods
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.