plot_catch_comp | R Documentation |
Plotting of spatial catch compositions at different levels of aggregation
plot_catch_comp(
gran = c(20, 10, 5),
logs = logs,
fleets = 1:2,
vessels = 1:5,
trips = 1:20,
years = 18:20,
cluster_plot = FALSE,
cluster_k = 5,
scale_data = NULL
)
gran |
is a Numeric Vector of granularities required |
logs |
is the fleet logs from combine_logs |
fleets |
is a Numeric Vector of the fleets to include in the catch composition plot |
vessels |
is a Numeric Vector of the vessels to include in the plot |
trips |
is a Numeric Vector of the trips to include |
years |
is a Numeric Vector of the years |
cluster_plot |
is a logical, determines whether also to run PAM cluserting on the catch compositions and plot the clusters spatially |
scale_data |
is a logical, whether to normalise the data before the clustering |
clusters_k |
is the number of clusters to search for in the PAM clustering algorithm |
plot_catch_comp(gran = c(20,10,5,2), logs = logs, fleets = 1:2, vessels =
1:5. trips = 1:20, years = 18:20, cluster_plot = FALSE, cluster_k = 5,
scale_data = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.