print.fishery: Print method for fishery objects

Description Usage Arguments Examples

View source: R/fishery-class.R

Description

Shows main information from objects of the fishery class, like number of records data, the time period of dates (years and months), the number of ports, the analyzed species and the analyzed variable type.

Usage

1
2
## S3 method for class 'fishery'
print(x, language = "spanish")

Arguments

x

Object of fishery class.

language

The select language to print the outputs.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Read a example of a data base
fisheryData = system.file("extdata", "fisheryData.csv", package = "imarpe")

# Produce a object of fishery class
landing  = getFishingData(file = fisheryData, type = "fisheryinfo", varType = "landing", sp = "caballa")
class(landing)

# Show main information of the fishery class object
print(landing)
print(landing, language = "english")

imarpe/imarpe documentation built on Aug. 8, 2020, 8:40 p.m.