plot_reigonTrans: Visualizing Town Level Reproductive Numbers

View source: R/plot_reigonTrans.R

plot_reigonTransR Documentation

Visualizing Town Level Reproductive Numbers

Description

Plot regional transmission relationship map by individual transmission probablity matrix

Usage

plot_reigonTrans(Pij, region, sf, time = NULL)

Arguments

Pij

Matrix of individual transmission probablity from case i to case j.

region

Vector of region (polygon) name of data points.

sf

Object of class 'sf'; polygon layer of statistical data (region data of these data points).

time

Vector of time of data points.

Examples

data("EpiTrans")

covid = GeoLocater(TimeDF = covid19,PointsDF = RndPts)
covid.R_adj=Rj(t = covid$date, x = covid$x, y = covid$y, GI.pdf = lpdf_GI(5.2,1.5), unit_coord = "meter")

plot_reigonTrans(Pij = covid.R_adj$Pij,region = covid$region,sf = Taipei)

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