move_population | R Documentation |
move_population
redistributes the population based on
the movement probabilities
move_population(moveProp, StartPop)
moveProp |
is a list of the proportion of the population from each cell to reallocated to each of the other cells |
StartPop |
is a Numeric Matrix of the current populations distribution |
is a list of the new position for the population from each of the cells.
NOTE: This is not aggregated and requires calling the R function Reduce('+', Lst) to reaggregate. Would be better if done in function but Reduce is currently faster...but much more memory intensive to get out the lists...using the standard c++ accumulate function may work for this but untested
None at the moment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.