cheddar | R Documentation |
Cheddar provides a flexible, extendable representation of an ecological community and a range of functions for analysis and visualisation, focusing on food web, body mass and numerical abundance data. It also allows inter-web comparisons such as examining changes in community structure over environmental, temporal or spatial gradients.
Details of differences between versions of Cheddar are in the the online release history: https://github.com/quicklizard99/cheddar/blob/master/release_history.md.
Package: | cheddar |
Type: | Package |
Version: | 0.1-639 |
Date: | 2024-07-24 |
License: | BSD 2 clause |
Maintainer: Lawrence Hudson <quicklizard@googlemail.com>
# The dataset of Tuesday Lake sampled in 1984
data(TL84)
# Properties of the community
CPS(TL84)
# Properties of each node
head(NPS(TL84))
# Some computed node properties
head(NPS(TL84, c('Log10M', 'Log10N', 'Log10Biomass',
TL='PreyAveragedTrophicLevel', TS='TrophicSpecies')))
# Properties of each trophic link
head(TLPS(TL84))
# Computed properties of each node in each link
head(TLPS(TL84, node.properties=c('Log10M', 'Log10N', 'Log10Biomass',
'PreyAveragedTrophicLevel')))
# A collection of 10 webs sampled across a wide pH gradient
data(pHWebs)
# A data.frame of predictors and responses
CollectionCPS(pHWebs, c('pH',
S='NumberOfNodes',
L='NumberOfTrophicLinks',
C='DirectedConnectance',
Slope='NvMSlope'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.