View source: R/FleetSegmentation.R
catchdata_transformation | R Documentation |
This function is used to transform stock-based fisheries catch data into a suitable format for the clustering procedure and cluster validation of the FleetSegmentation package. It uses the share of the species on the total catch of each ship instead of the amount (or other seafood) of fish caught. See example_catchdata for a example data frame format. Catch needs to be given in kilograms.
catchdata_transformation(data)
data |
The basic catch data frame. |
data <- example_catchdata
stockdata <- assign_stocks(data=data)
catchdata <- catchdata_transformation(data = stockdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.