View source: R/randomContacts.R
randomContacts | R Documentation |
randomContacts
returns a list with random contact between wards.
randomContacts(pop_size_H, ward_names)
pop_size_H |
Numerical vector. Contains the number of professional affiliated to each ward in the same order than ward_names argument. |
ward_names |
String vector. Contains the ward names in the same order than pop_size_H argument. |
List of two data.frame. sharedTime: proportion of time spent in each ward (row) for each professional (column) ; contactMat: average time spent in each ward (column) by professionals of each ward (row).
data("toydata")
list2env(toydata,envir=.GlobalEnv)
randomContacts(pop_size_H, ward_names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.