View source: R/community_collection.R
CollectionTLPS | R Documentation |
Returns a data.frame
of first-class and computed
trophic-link properties of communities in a CommunityCollection
.
CollectionTLPS(collection, node.properties=NULL, link.properties=NULL)
collection |
an object of class |
node.properties |
the names of the node properties to return. Should
meet the critera of the |
link.properties |
the names of the trophic link properties to return.
Should meet the critera of the |
This function is named CollectionTLPS for Collection Trophic Link
PropertieS. It returns a data.frame
containing the columns ‘resource’
and ‘consumer’ and any requested node and trophic-link properties.
If node.properties
and link.properties
are both NULL
then
all first-class trophic-link properties are included in the returned
data.frame
.
A data.frame
.
Lawrence Hudson
TLPS
, CommunityCollection
data(pHWebs)
# Just community, resource and consumer
head(CollectionTLPS(pHWebs), 10)
# The M of the resource and consumer in each link
head(CollectionTLPS(pHWebs, node.properties='M'), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.