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"
)

Arguments

dataframe

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

graph_type

character expected. plot, plotly or table. Plot by default.

figure

character expected. For plotly figure: vessel (for number of vessels graph) or capacity (for carrying capacity graph). NULL by default.

title

TRUE or FALSE expected. False by default.

time_step

character expected. Kind of display you want in the graphic output. You can choose between "month" and "year".

Value

The function return ggplot R object.