Description Usage Arguments Value
Subset weights of cells to the candidate cell ids
1 | get_cellweights(weights, cell_ids)
|
weights |
numeric vector, weights to give each grid cell for sampling moves
for use with sim_movement_prob; will be length ncells + 1,
see |
cell_ids |
integer vector, the cell ids corresponding to each grid cell in which the infectious individual is starting from |
a vector of weights corresponding to the cell_ids passed through
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.