HegyiCICalculator: the function to calculate intraspecific and interspecific...

View source: R/HegyiCICalculator.R

HegyiCICalculatorR Documentation

the function to calculate intraspecific and interspecific hegyi competition index both distance and size

Description

the function to calculate intraspecific and interspecific hegyi competition index both distance and size

Usage

HegyiCICalculator(
  objectID,
  species,
  coordX,
  coordY,
  size,
  maxRadius,
  distanceWeight = 1,
  sizeWeight = 0
)

Arguments

objectID

character, The unique object identifier. Must be unique.

species

character, Species code to identify intra and inter-specific competition.

coordX

numeric, The x coordinate.

coordY

numeric, The y coordinate.

size

numeric, The size that used for compute competition index.

maxRadius

numeric, The competition index will been calculated within this radius

distanceWeight

numeric, Define how the compeition sensitive to the distance of a neighbours, ie., crowdness. Default is 1, which is same as the original Hegyi index.

sizeWeight

numeric, Define how the compeition scales across all the plots. Default is 0, which means there is no scale.

Value

a data table that has five columns, plotNumber, treeNumber, Year, IntraH and InterH

Note

no note

Author(s)

Yong Luo

See Also

no


bcgov/FAIBBase documentation built on June 19, 2024, 11:57 p.m.