Description Usage Arguments Value Examples
View source: R/Generate_data.R
Risk to be infected by a neighbour at a distance x
1 | risktobeinfectedbydistancetooneinfectedunit(.dist, .distriskhalf = 5 * 10^(-4))
|
.dist |
: a distance |
.disthalfrisk |
: distance for which the risk is one half |
exp(-.dist/(log(2)*.distriskhalf))
1 2 | #Risk to be ingfected 2 m from the victim when the 50%risk distance is 1 m:
risktobeinfectedbydistancetooneinfectedunit(2,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.