Closed quicklizard99 closed 12 years ago
Fixed in 0.1-618:
library(cheddar)
data(SkipwithPond)
chains <- TrophicChains(SkipwithPond)
dim(chains) # 2538120 rows, 17 columns
library(cheddar)
data(SkipwithPond)
stats <- TrophicChainsStats(SkipwithPond)
length(stats$chain.length) # The length (i.e. number of links) of each of the 2538120 chains
mean(stats$chain.length)
summary(stats$chain.length)
# A matrix with a row for each node (37 for Skipwith Pond) and '1+max(stats$chain.lengths)' columns.
# Elements are the number of chains in which a node appear in that position.
stats$node.pos.counts
Two limitations relating to the way that Cheddar handles trophic chains: