density_dcp_1deg: Density of dcp 1 deg

View source: R/density_dcp_1deg.R

density_dcp_1degR Documentation

Density of dcp 1 deg

Description

Map of the the density of deployments of dFADs 1 deg (Only for OA for the moment)

Usage

density_dcp_1deg(dataframe, ocean = 1)

Arguments

dataframe

data.frame expected. 'Csv' or 'output' of the function data_extraction, which must be done before using the density_dcp_1deg() function.

ocean

integer expected. Ocean code to choose the ocean, 1 by default.

Details

The input dataframe must contain all these columns for the function to work [see referentials]:

   count | center_geom_x | center_geom_y |  activity_date  | poly_geom
   ------------------------------------------------------------------------
    110  | 0.5           | 0.5           | 2013            | POLYGON ((0 0, 0 1, 1 1, 1 ...
    174  | 0.5           | 0.5           | 2014            | POLYGON ((0 0, 0 1, 1 1, 1 ...
    175  | 0.5           | 0.5           | 2023            | POLYGON ((0 0, 0 1, 1 1, 1 ...

Value

The function return ggplot R plot.


OB7-IRD/fishi documentation built on Feb. 4, 2025, 2:03 a.m.