View source: R/community_collection.R
CollectionNPS | R Documentation |
Returns a data.frame
of first-class and computed node
properties of communities in a CommunityCollection
.
CollectionNPS(collection, properties=NULL)
collection |
an object of class |
properties |
names of the properties. These can be names of first-class
properties and names of functions. Names must meet the criteria of
the |
This function is named CollectionNPS for Collection Node PropertieS.
If properties
is NULL
, all first-class node properties are
included in the returned data.frame
.
A data.frame
.
Lawrence Hudson
NPS
, CommunityCollection
data(pHWebs) head(CollectionNPS(pHWebs), 10) head(CollectionNPS(pHWebs, 'M'), 10) # Biomass is a function head(CollectionNPS(pHWebs, 'Biomass'), 10) head(CollectionNPS(pHWebs, c(B='Biomass')), 10) # Several first-class and computed properties head(CollectionNPS(pHWebs, c('M', 'N', B='Biomass', 'TrophicSpecies', TL='PreyAveragedTrophicLevel')), 10) # Pass parameters to functions head(CollectionNPS(pHWebs, list(TS1='TrophicSpecies', TS2=list('TrophicSpecies', include.isolated=FALSE), Iso='IsIsolatedNode')), 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.