clustercatch_plot: Plot of total catch of ships in clusters

View source: R/FleetSegmentation.R

clustercatch_plotR Documentation

Plot of total catch of ships in clusters

Description

This is function creates an overview barplot of the total catch of all ships in each cluster.

Usage

clustercatch_plot(data, clustering, subset = NULL)

Arguments

data

The original, untransformed data that was used for the clustering.

clustering

The result of the clustering procedure, stored as a data frame.

subset

Display only a subset of clusters in plot. Can be a single number or a vector of numbers.

Examples

data <- example_catchdata
stockdata <- assign_stocks(data=data)
catchdata <- catchdata_transformation(data = stockdata)
clustering <- segmentation_clustering(catchdata = catchdata,n_cluster = 6)
clustercatch_plot(data = stockdata,clustering = clustering)

ESulanke/FleetSegmentation documentation built on March 27, 2023, 10:13 p.m.