V2Pdim: Trophic level volume to pyramid dimensions

Description Usage Arguments Value Examples

View source: R/V2Pdim.R

Description

Used internally by Vpyramid3d. The angle (i.e. steepness) of the pyramid is determined by the mean transfer efficiency (TEgm). The top angle is proportional to the inverse of the TEgm value.

Usage

1
V2Pdim(V, TEgm)

Arguments

V

vector of volumes (i.e. throughput) from lowest to highest trophic level (TL)

TEgm

geometric mean transfer efficiency (TLs 2-4)

Value

A list containing (from lowest to highest TL): base widths (a), heights (h), cumulative height (cum.h), a:h ratio (ah_ratio), top angle(angle), volumes (V), geometric mean transfer efficiency (TEgm), cumulative volume (cum.V).

Examples

1
2
3
4
# From Tam et al (2008) - Northern Humboldt Current Ecosystem (1995-1996)
TEgm <- 0.1014
Ts <- c(27165, 22349, 1658, 266.3, 17.45, 0.607, 0.00515, 6e-06)
V2Pdim(V = Ts, TEgm = TEgm)

marchtaylor/EwEvis documentation built on Dec. 2, 2019, 4:44 p.m.