ReduceMatrix | R Documentation |
Reduce individual transmission probablity matrix to region transmission matrix
ReduceMatrix(matrix, group)
matrix |
Matrix of individual transmission probablity from case i to case j |
group |
Vector of grouop, or region(polygon) of cases |
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") Tij = ReduceMatrix(covid.R_adj$Pij,covid$region)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.