Description Usage Examples
View source: R/Generate_data.R
Computes the risk to be infected
1 2 3 4 5 6 7 8 9 10 11
risktobeinfected( U, closedistances = NULL, sicks, new.sicks = NULL, .distriskhalf = 5 * 10^(-4), jumprisk = 10^-6, delta = 0.01, previouslyexposed = c(), previousrisk = NULL )
1 2 3
y=rep("Sane",nrow(U));y[sample(length(y),10)]<-"sick" jumprisk=10^-6 .distriskhalf=10^-6
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.