vessel: Project Identifiers

View source: R/vessel.R

vesselR Documentation

Project Identifiers

Description

Functions to retrieve survey vessel information.

Usage

vessel(x, ...)

## Default S3 method:
vessel(x, ...)

## S3 method for class 'character'
vessel(x, verbose = FALSE, ...)

## S3 method for class 'scsset'
vessel(x, ...)

## S3 method for class 'gulf.set'
vessel(x, ...)

Arguments

x

Character search string.

...

Other arguments (not used).

Methods (by class)

  • vessel(default): Default vessel method. Returns the complete vessel data table.

  • vessel(character): Search for vessel name and return vessel specifications.

  • vessel(scsset): Vessel names for snow crab survey.

  • vessel(gulf.set): Vessel names for various science surveys.

Examples

vessel()               # Survey vessel table.
vessel("prince")       # Search for vessel name.
vessel("marco")        # Search for vessel name.
vessel("opilio")       # Search for vessel name.

# Read snow crab set data:
x <- read.scsset(2000:2021)
vessel(x)  # Determine vessel for each data record.

TobieSurette/gulf.data documentation built on Jan. 19, 2025, 7:50 p.m.