NP | R Documentation |
Returns a node property.
NP(community, property)
community |
an object of class |
property |
the name of the property to return. |
This function is named NP for Node Property. It returns a vector
containing the value of property
for every node. The returned vector
is named by node. If the name is not a property, a vector of NA
is
returned.
A vector of length NumberOfNodes
.
Lawrence Hudson
NPS
, NumberOfNodes
data(TL84)
NP(TL84, 'M')
# Returns a vector of NA
NP(TL84, 'not a property')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.