data.frame of first-class and computed node
an object of class
the names of node properties. These can be names of
first-class properties (returned by
This function is named NPS for Node Properties. It returns a
data.frame containing the column ‘node’ and any requested properties.
NULL, all first-class node properties are
included in the returned
properties should be either a vector or a list that contains either
names of first class properties, names of functions that take only a community
or lists in which the first element is the name of a function that takes
a community and subsequent elements are named arguments to that function.
properties are column names in the returned
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
data(TL84) NPS(TL84) NPS(TL84, 'M') # Biomass is a function NPS(TL84, 'Biomass') NPS(TL84, c(B='Biomass')) # Several first-class and computed properties NPS(TL84, c('M', 'N', B='Biomass', 'TrophicSpecies', TL='PreyAveragedTrophicLevel')) # Pass parameters to functions NPS(TL84, list(TS1='TrophicSpecies', TS2=list('TrophicSpecies', include.isolated=FALSE), Iso='IsIsolatedNode'))