Learn R Programming

EcoTroph (version 1.3)

plot_ETdiagnosis: Plot Diagnosis Function

Description

This function enables the creation of the principle graphics resulting from the create.ETdiagnosis function.

Usage

plot_ETdiagnosis(m,scale1,scale2,maxrange)

Arguments

m
is the list of tables returned by the create.ETdiagnosis function.
scale1
is the scale parameter of the Biomass Trophic Spectra, can be log or by default the standart scale of the results.
scale2
is the scale parameter of the Flow Trophic Spectra, can be log or by default the standart scale of the results.
maxrange
is the max Trophic Level for the x-axis of the plots.

Value

  • The function returns the principal graphics of the global ET-Diagnosis routine: the graphics of the biomass, accessible biomass...rates for the different effort multipliers, the Biomass Trophic Spectra (BTS)for the different effort multipliers, the B/Bref(mE=1) graph for the main TL classes, the CTS and FTS.

Details

The scale1 parameter controls the scale of the Yaxis for the BTS, it's by default the scale of the result but it's normally more practical to use a log scale. It's the same thing for the scale2 parameter controlling the Yaxis of the FTS.

References

Gascuel et al. (2009) EcoTroph (ET): a trophic level based software for assessing the impacts of fishing on aquatic ecosystems.

Examples

Run this code
data(ecopath_guinee)
plot_ETdiagnosis(create.ETdiagnosis(create.ETmain(ecopath_guinee)$ET_Main))

Run the code above in your browser using DataLab