Description Usage Arguments Value Examples
A 'primary_producers' object stores the primary production inputs for a set of nodes in a food web
1 2 3 4 5 6 | build_primary_producers(production_mean, production_sd, ...)
is.primary_producers(x)
## S3 method for class 'primary_producers'
print(x, ...)
|
production_mean |
a vector of production means |
production_sd |
a vector of production standard deviations |
... |
further arguments passed to or from other methods |
x |
an object to print or test as a primary_producers object |
An object of class primary_producers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(trophic)
# Construct the primary_producers object
test_producers <- build_primary_producers(production_mean = c(1, 2, 3),
production_sd = c(0.1, 0.5, 0.2))
# Test if object is of the type 'primary_producers'
## Not run:
is.primary_producers(x)
## End(Not run)
# Print information about the 'primary_producers' object
## Not run:
print(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.