Calculates the density dependent recruitment (total egg production) project
method for performing simulations.
getRDD(object, n, n_pp, rdi, ...)# S4 method for MizerParams,matrix,numeric,matrix
getRDD(object, n, n_pp, rdi,
sex_ratio = 0.5)
# S4 method for MizerParams,matrix,numeric,missing
getRDD(object, n, n_pp,
sex_ratio = 0.5)
An MizerParams
object
A matrix of species abundance (species x size)
A vector of the background abundance by size
A matrix of density independent recruitment (optional) with
dimensions no. sp x 1. If not specified rdi is calculated internally using
the getRDI
method.
Other arguments (currently unused).
Proportion of the population that is female. Default value is 0.5
A numeric vector the length of the number of species.
# NOT RUN {
data(NS_species_params_gears)
data(inter)
params <- MizerParams(NS_species_params_gears, inter)
# Project with constant fishing effort for all gears for 20 time steps
sim <- project(params, t_max = 20, effort = 0.5)
# Get the energy at a particular time step
getRDD(params,sim@n[21,,],sim@n_pp[21,])
# }
Run the code above in your browser using DataLab