GeoLocater: Calculate the number of cases.

View source: R/GeoLocater.R

GeoLocaterR Documentation

Calculate the number of cases.

Description

Convert polygon data to point coordinates, random sampling and locating to get the cases points' coordinates

Usage

GeoLocater(TimeDF, PointsDF)

Arguments

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'.

Examples

data("EpiTrans")

GeoLocater(TimeDF = covid19,PointsDF = RndPts)

wenlab501/EpiTrans documentation built on July 8, 2022, 9:14 a.m.