nodal.local {Blaunet} R Documentation

Computes Blau statuses for individuals with respect to a primary membership

Description

Computes two measures: whether an individual is within the niche of the primary membership specified, and whether the individual is a member of the primary membership but outside of that membership's niche.

Usage

nodal.local(blauObj, focal.niche = NULL, dev.range, ecologies.off = FALSE)


Arguments

 blauObj An object of class blau initialized with the function blau. Individuals will automatically be placed in niches with the function niches if this has not been done manually. focal.niche Specifies a focial niche by name of the organization. dev.range When creating niches, indicates standard deviation around the mean in each dimension to include in niche. A larger value will make niches larger and therefore include more individuals. ecologies.off Defaults to FALSE. If set to TRUE, treats all individuals as in the same ecology, even if ecology identifiers (ecology.ids) have been specified. Will call the niches function and overwrite its output even if it has been manually called by the user.

Details

This provides information about the focal membership for each individual.

Examples

data(TwoCities)
b <- blau(TwoCities, node.ids = 'respID', ecology.ids = 'samp')
#will automatically compute niches
b0 <- nodal.local(b, dev.range = rep(1.5, 10), focal.niche = 'grppta')
# 10 is the number of dimensions in the command line above


[Package Blaunet version 2.2.1 Index]