TLPS | R Documentation |
Returns a data.frame
of first-class and computed
trophic-link properties.
TLPS(community, node.properties=NULL, link.properties=NULL)
community |
an object of class |
node.properties |
the names of the node properties to return. Should
meet the criteria of the |
link.properties |
the names of link properties. These can be names of
first-class properties (returned by |
This function is named TLPS for Trophic Link PropertieS. It returns
a data.frame
containing the columns 'resource' and 'consumer'
and any requested properties.
A data.frame
with NumberOfTrophicLinks
rows.
Lawrence Hudson
TrophicLinkPropertyNames
, TLP
,
NumberOfTrophicLinks
, NPS
,
Log10RCMRatio
,
ThreeNodeChains
, TrophicChains
data(TL84)
# Just resource and consumer
head(TLPS(TL84))
# resource, consumer, resource.M and consumer.M
head(TLPS(TL84, node.properties='M'))
# Log10RCMRatio returns log10-transformed resource.M / consumer.M
head(TLPS(TL84, node.properties='M', link.properties='Log10RCMRatio'))
# Skipwith Pond has link.evidence and link.life.stage first-class properties
data(SkipwithPond)
head(TLPS(SkipwithPond))
# resource, consumer and link.evidence
head(TLPS(SkipwithPond, link.properties='link.evidence'))
# Skipwith Pond has diet.fraction first-class property
data(Benguela)
head(TLPS(Benguela))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.