Skip to contents

Get density of fish individuals.

Usage

get_density(result, normalize = FALSE, verbose = TRUE)

Arguments

result

mdl_rn object.

normalize

Logical if TRUE, count is divided by time steps.

verbose

If TRUE, progress reports are printed.

Value

data.frame

Details

Calculates the fish density for each seafloor cells. Thus, the total count of fish abundance within a raster cell is divided by the maximum time step.

Please keep in mind that if not each time step was saved during run_simulation, the returned density might not be the "true" density, because some occurrences might be missed.

Examples

if (FALSE) {
get_density(result = result_rand)
}