powered by
Functions that return the number of nodes in the community.
NumberOfNodes(community) NumberOfNodesByClass(community, class) FractionOfNodesByClass(community, class)
an object of class Community.
Community
the property over which fn is applied. Defaults to 'category' if the community has a node property with that name.
fn
NumberOfNodes returns a single number. NumberOfNodesByClass and FractionOfNodesByClass both return a value for each class.
NumberOfNodes
NumberOfNodesByClass
FractionOfNodesByClass
class
Community, NPS
NPS
# NOT RUN { data(TL84) NumberOfNodes(TL84) NumberOfNodesByClass(TL84) FractionOfNodesByClass(TL84) # }
Run the code above in your browser using DataLab