movement | R Documentation |
movement
redistributes individuals between areas.
movement(t, cr, fdr, N, A, AMP = 0.1)
t |
temporary numeric value, the current time step. |
cr |
temporary numeric value, the current control rule. |
fdr |
temporary numeric value, the current final target density ratio. |
N |
numeric array, the number of individuals at each age, in each area, at each timestep, under each control rule, and for each estimate of natural mortality. |
A |
numeric value, the number of total areas in the model. Default value is 5. |
AMP |
numeric value, adult movement proportion, the fraction of individuals that move from one area to an adjacent area from one timestep to the next. Default value is 0.1. |
numeric array of updated N (numbers at age, area, timestep, control rule, and estimate of natural mortality)
n = 34; A = 5; TimeT = 70; CR = 6; FDR = 4 N <- array(rep(10, n*A*TimeT*CR*FDR), c(n, A, TimeT, CR, FDR)) movement(t = 1, cr = 1, fdr = 1, N, A , AMP = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.