vessel_number() graphically represents the number of vessel by country, ocean, period, time step and vessel type.
vessel_number(
dataframe,
graph_type = "plot",
figure = NULL,
title = FALSE,
time_step = "year"
)
data.frame expected. Csv or output of the function data_extraction, which must be done before using the vessel_number() function.
character expected. plot, plotly or table. Plot by default.
character expected. For plotly figure: vessel (for number of vessels graph) or capacity (for carrying capacity graph). NULL by default.
TRUE or FALSE expected. False by default.
character expected. Kind of display you want in the graphic output. You can choose between "month" and "year".
The function return ggplot R object.