print.summary.fishery: Print method for summary.fishery

Description Usage Arguments Value Examples

View source: R/fishery-class.R

Description

Shows main information from summary.fishery objects.

Usage

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

Arguments

x

Object of summary.fishery class.

language

The select language to print the summary of fishery objects. It could be "spanish" by default or "english".

Value

Each element of summary.fishery method.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 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)

# Print the summary of the fishery class object
sumLanding = summary(landing)
print(sumLanding)

sumLanding = summary(landing, language = "english")
print(sumLanding, language = "english")

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