Skip to contents

List of consumer groups from Rpath object with species type = 0.

Usage

rpath.consumers(Rpath)

Arguments

Rpath

Balanced Rpath model generated by rpath()

Value

Returns a string vector containing the names of Rpath functional groups that are consumers

Examples

# Build the balanced Rpath model and parameter file by calling `rpath`
Rpath <- rpath(Ecosense.EBS)
# Run the consumers command
consumerGroups = rpath.consumers(Rpath)
# Print out the first few consumer group names
head(consumerGroups)
#> [1] "Toothed whales"      "Gray whales"         "Other baleen"       
#> [4] "Bowhead whales"      "Other pinnipeds"     "Walrus/bearded seal"