Loading and saving Community objects
SaveCommunity are functions for loading and
Community objects to CSV files.
an object of class
the name of an R function that loads/saves CSV files.
the string to use for missing values in the data; see
other values to
Data are stored in CSV (Comma-Separated Value) files in
Properties of any aspect of the community (nodes, links or the whole community)
can be added simply by adding columns to the relevant CSV file.
The data-quality checks defined by
Community are applied by
dots arguments can be used to
read/write files in a range of formats.
properties.csv defines items applicable to the community as a
whole, such as sampling date, lat & long or altitude and environmental
variables such as temperature or pH. This file must contain a column called
nodes.csv should contain the list of nodes and together with any
associated properties such as mean body mass, mean numerical abundance and
classification. This file must contain a column called ‘node’ that must contain
node names. Many of Cheddar's plot and analysis functions make use of the
‘category’ node property by default, following previously-used metabolic
groupings (Yodzis & Innes, 1992). The ‘category’ column of
is optional but, if given, it should contain one of ‘producer’,
‘invertebrate’, ‘vert.ecto’, ‘vert.endo’ or should be an empty string.
trophic.links.csv is optional. It defines trophic links in columns
‘resource’ and ‘consumer’, which should be names of nodes. Properties
of trophic links such as evidence for the presence of the link (e.g.
empirically observed or inferred from literature) can be added to this file.
LoadCommunity returns a new
Yodzis, P. and Innes, S. (1992) Body size and resource-consumer dynamics. The American Naturalist 139, 1151–1175.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.