print.cpue: Print method for cpue objects

Description Usage Arguments Examples

View source: R/cpue-class.R

Description

Shows main information from objects of the catch per unit effort (cpue) class, like number of records data, the time period of dates (years and months), the number of ports, the analyzed species and the type of effort used on the cpue.

Usage

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

Arguments

x

Object of cpue 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 cpue class
cpue  = getFishingData(file = fisheryData, type = "cpue", varType = "cpue", sp = "caballa", efforType = "capacidad_bodega")
class(cpue)

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

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