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,
retA_P_real,
retA_P_real_2,
L5_P,
LFS_P,
Vmaxlen_P,
SLarray_P,
V_P,
V_P_real,
V_P_real_2,
Fdisc_P,
DR_P,
FM_P,
FM_Pret,
Z_P,
CB_P,
CB_Pret,
Effort_pot,
StockPars,
FleetPars,
ImpPars,
checks = FALSE,
control = list()
)
```

`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 |

`retA_P_real` |
An array with dimensions |

`retA_P_real_2` |
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 |

`V_P_real` |
An array with dimensions |

`V_P_real_2` |
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 |

`StockPars` |
A list of stock parameters |

`FleetPars` |
A list of fleet parameters |

`ImpPars` |
A list of implementation error parameters |

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

`control` |
List of control parameters used internally. |

A named list with updated population dynamics

A. Hordyk

Blue-Matter/MSEtool documentation built on Feb. 12, 2024, 3:34 p.m.

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.