CalcMPDynamics | R Documentation |

An internal function to calculate the population dynamics for the next time step based on the recent MP recommendation

```
CalcMPDynamics(
MPRecs,
y,
nyears,
proyears,
nsim,
Biomass_P,
VBiomass_P,
LastTAE,
histTAE,
LastSpatial,
LastAllocat,
LastTAC,
TACused,
maxF,
LR5_P,
LFR_P,
Rmaxlen_P,
retL_P,
retA_P,
L5_P,
LFS_P,
Vmaxlen_P,
SLarray_P,
V_P,
Fdisc_P,
DR_P,
FM_P,
FM_Pret,
Z_P,
CB_P,
CB_Pret,
Effort_pot,
StockPars,
FleetPars,
ImpPars,
checks = FALSE,
control
)
```

`MPRecs` |
A named list of MP recommendations. The names are the same as |

`y` |
The projection year |

`nyears` |
The number of historical years |

`proyears` |
The number of projection years |

`nsim` |
The number of simulations |

`Biomass_P` |
An array with dimensions |

`VBiomass_P` |
An array with dimensions |

`LastTAE` |
A vector of length |

`LastSpatial` |
A matrix of |

`LastAllocat` |
A vector of length |

`LastTAC` |
A vector of length |

`TACused` |
A vector of length |

`maxF` |
A numeric value with maximum allowed F. From |

`LR5_P` |
A matrix with |

`LFR_P` |
A matrix with |

`Rmaxlen_P` |
A matrix with |

`retL_P` |
An array with dimensions |

`retA_P` |
An array with dimensions |

`L5_P` |
A matrix with |

`LFS_P` |
A matrix with |

`Vmaxlen_P` |
A matrix with |

`SLarray_P` |
An array with dimensions |

`V_P` |
An array with dimensions |

`Fdisc_P` |
vector of length |

`DR_P` |
A matrix with |

`FM_P` |
An array with dimensions |

`FM_Pret` |
An array with dimensions |

`Z_P` |
An array with dimensions |

`CB_P` |
An array with dimensions |

`CB_Pret` |
An array with dimensions |

`Effort_pot` |
A numeric vector of potential effort |

`checks` |
Logical. Run internal checks? Currently not used. |

`M_ageArray` |
An array with dimensions |

`TAC_f` |
A matrix with |

`E_f` |
A matrix with |

`SizeLim_f` |
A matrix with |

`FinF` |
A numeric vector of length |

`Spat_targ` |
A numeric vector of length |

`CAL_binsmid` |
A numeric vector of length |

`Linf` |
A numeric vector of length |

`Len_age` |
An array with dimensions |

`maxage` |
A numeric value with maximum age from |

`nareas` |
A numeric value with number of areas |

`Asize` |
A matrix with |

`nCALbins` |
The number of CAL bins. Should be the same as |

`qs` |
A numeric vector of length |

`qvar` |
A matrix with |

`qinc` |
A numeric vector of length |

A named list with updated population dynamics

A. Hordyk

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.