plotTP: Function to plot a trophic position distribution

plotTPR Documentation

Function to plot a trophic position distribution

Description

Wrapper of siberDensityPlot.

Usage

plotTP(TPdist = NULL, ...)

Arguments

TPdist

vector. One posterior distribution (or a collection) of trophic position. In case of wanting to plot two or more posterior distributions, needs to be passed as a data.frame object.

...

additional arguments passed to this function.

Value

A new figure window

Examples

species1 <- stats::rnorm(1000, 4, 0.1)
species2 <- stats::rnorm(1000, 3, 0.8)
plotTP(data.frame(species1, species2))



tRophicPosition documentation built on Dec. 28, 2022, 2:27 a.m.