Description Usage Arguments Value Author(s)
Distribute the case count for a spatial unit into subunits
1 | disaggregate(total, pmatrix, sim = 1000)
|
total |
case count for large spatial unit |
pmatrix |
matrix of probabilities. Each row corresponsd to a single run and each column is a spatial sub-unit. |
sim |
Number of simulations (i.e., draws) for the multinomial distribution. Note that this need not be the same as the number of rows in pmatrix. |
matrix with nrow(pmatrix) * sim rows and ncol(pmatrix) columns
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.