View source: R/sampling_utils.R
get_n_by_origin | R Documentation |
Get the total number of individuals in the final network by region of choice.
get_n_by_origin(tm, location)
tm |
Transmission matrix of who transmitted to whom. |
location |
Character of location at time of transmission to get IDs to sample from. Location can take the value of "region" or "global". |
Note that location will be those at the time of seroconvertion.
Integer of the total number of individuals in location of choice. Note that the function will return the total number of individual at location of choice at time of seroconversion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.