CP: Single community properties

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

View source: R/community.R

Description

Returns a single community property or NA if property is not in CommunityPropertyNames.

Usage

1
CP(community, property)

Arguments

community

an object of class Community.

property

the name of the community property to be returned.

Details

This function is named CP for Community Property.

Value

A single community property.

Author(s)

Lawrence Hudson

See Also

Community, CPS, CommunityPropertyNames

Examples

1
2
3
4
5
6
7
8
9
data(TL84)
CP(TL84, 'title')

CP(TL84, 'lat')

CP(TL84, 'M.units')

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

cheddar documentation built on Feb. 13, 2020, 5:07 p.m.