screenFoodWeb: Function that creates a biplot of a food web with stable...

Description Usage Arguments Value Examples

Description

Function that creates a biplot of a food web with stable isotope values (d13C and d15N)

Usage

1
2
screenFoodWeb(df = NULL, grouping = c("Species", "FG"),
  printSummary = FALSE, ...)

Arguments

df

a data frame that contains the isotope values. By defaults, the data frame needs to have the following columns: d13C, d15N, Species and FG. Species stands for the scientific name (or common name), and FG stands for the functional group for each species.

grouping

a vector with the name of the columns (variables) that will be used to summarize, and plot the data frame.

printSummary

a logical value to indicate whether the summary is printed

...

optional arguments that are passed to the function for later use.

Value

a ggplot2 object with the biplot of the data frame. Also prints the summary of the data frame as needed.

Examples

1
2
3
data("Bilagay")
subset_CHI <- Bilagay[Bilagay[,"Location"] %in% "CHI",]
screenFoodWeb(subset_CHI, grouping = c("Spp", "FG"))

Example output

This is tRophicPosition 0.7.0

tRophicPosition documentation built on May 2, 2019, 4:15 a.m.