as.location_dataframe | R Documentation |
Convert objects to location_dataframe
objects
as.location_dataframe(input, ...)
## S3 method for class 'data.frame'
as.location_dataframe(input, ...)
## S3 method for class 'SpatialPolygonsDataFrame'
as.location_dataframe(input,
populationraster, ...)
input |
object to convert to a |
populationraster |
a |
... |
further arguments passed to or from other methods. |
A location_dataframe
objects which is a data.frame
containing location data with
columns location
(character), population
(numeric), x
(numeric) and y
(numeric).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.