get_density: get_density

View source: R/get_density.R

get_densityR Documentation

get_density

Description

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.

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.

Value

data.frame

Examples

## Not run: 
get_density(result = result_rand)

## End(Not run)


Allgeier-Lab/arrR documentation built on Feb. 13, 2025, 7:44 a.m.