GeoLocater | R Documentation |
Convert polygon data to point coordinates, random sampling and locating to get the cases points' coordinates
GeoLocater(TimeDF, PointsDF)
TimeDF |
Data frame of points regarding time;must contain a column of place (region, polygon name) called 'region', and a column of time called 'time'. |
PointsDF |
Data frame (regarding space) of population points or random points in polygons; must contain a column of place (region, polygon name) called 'region', and a column of x coordinate called 'x', and a column of y coordinate called 'y'. |
data("EpiTrans") GeoLocater(TimeDF = covid19,PointsDF = RndPts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.