NP: Single node properties

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns a node property.

Usage

1
NP(community, property)

Arguments

community

an object of class Community.

property

the name of the property to return.

Details

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.

Value

A vector of length NumberOfNodes.

Author(s)

Lawrence Hudson

See Also

NPS, NumberOfNodes

Examples

1
2
3
4
5
6
data(TL84)

NP(TL84, 'M')

# Returns a vector of NA
NP(TL84, 'not a property')


Search within the cheddar package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.