ais_table: Produce a table of summary statistics for AIS traffic.

View source: R/ais_table.R

ais_tableR Documentation

Produce a table of summary statistics for AIS traffic.

Description

Produce a table of summary statistics for AIS traffic.

Usage

ais_table(ais)

Arguments

ais

A data.frame of AIS traffic records for a single year. Each row is a position fix. Required fields:

  • vid = Unique vessel identifier (numeric)

  • type = Vessel type (character string)

  • speed = Vessel speed, in knots (numeric)

  • length = Vessel length, in meters (numeric)

  • width = Vessel beam width, in meters (numeric)

  • draft = Vessel beam width, in meters (numeric)

  • datetime = Datetime in UTC, with format ⁠yyyy-mm-dd hh:mm:ss⁠

  • x = Longitude, decimal degrees (Western degrees negative)

  • y = Latitude, decimal degrees (Southern degrees negative)

Value

A data.frame of summary statistics for each vessel type.

Examples

data(ais_2019)
ais_table(ais_2019)


ericmkeen/shipstrike documentation built on May 21, 2023, 7:05 a.m.