Learn R Programming

EcoTroph (version 1.4)

plot_smooth: Plot Smooth Function

Description

plot_smooth is used to plot a smooth function. This function enables the user to see the TL distribution around its mean trophic level.

Usage

plot_smooth(tab_smooth)

Arguments

tab_smooth
is the table returned by the create.smooth function.

Value

  • The function returns a plot of the Smooth with the TL classes in absisse.

References

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

See Also

create.smooth function to create the Smooth, Transpose to calculate the data transposition into trophic spectra, plot_Transpose to plot the trophic spectra.

Examples

Run this code
data(ecopath_guinee)
plot_smooth(create.smooth(ecopath_guinee))
plot_smooth(create.smooth(ecopath_guinee,smooth_type=2))

Run the code above in your browser using DataLab