View source: R/plot_reigonTrans.R
plot_reigonTrans | R Documentation |
Plot regional transmission relationship map by individual transmission probablity matrix
plot_reigonTrans(Pij, region, sf, time = NULL)
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. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.