example_datasets: Example food web data

Description Usage Format Examples

Description

Example food web data with 20 species

Example efficiency matrix data with 20 species

Example dominance matrix data with 20 species

Example mean primary production data for seven primary sources

Example standard deviations of primary production data for seven primary sources

Usage

1
2
3
4
5
6
7
8
9

Format

A matrix with one row and column for each species. Values in cell i, j indicates that the species in row i eats the species in column j

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(trophic)
food_web_test <- build_food_web(food_web)
plot(food_web_test)
library(trophic)
efficiency_matrix_test <- build_efficiency_matrix(efficiency_mean)
efficiency_matrix_test
library(trophic)
dominance_matrix_test <- build_dominance_matrix(dominance_matrix)
dominance_matrix_test
library(trophic)
production_test <- build_primary_producers(production_mean, production_sd)
production_test
library(trophic)
production_test <- build_primary_producers(production_mean, production_sd)
production_test

jdyen/trophic documentation built on May 15, 2019, 3:19 p.m.