niche_difer2 {specieschrom}R Documentation

Nested function for niche overlapping estimation with 'combina_niche3.R' and 'niche_differ_sp.R'.

Description

Estimate the niche overlapping (index D) between two species. Assume that the niche is rectangular. Columns (i.e. environmental variables) in 'spe_chr1' and 'sp_chr2' have to be the same.

Usage

niche_difer2(sp_chr1, sp_chr2, Thres_T)

Arguments

sp_chr1

a matrix (niche categories by environmental variables) for species 1

sp_chr2

a matrix (niche categories by environmental variables) for species 2

Thres_T

an integer corresponding to the threshold of minimal abundance in a category for the niche breadth estimation

Value

index D


[Package specieschrom version 1.0.0 Index]