get_delta_curves: Auxiliary function for computing S and the effect on S of the...

View source: R/mobr.R

get_delta_curvesR Documentation

Auxiliary function for computing S and the effect on S of the three components of community structure: SAD, N, and aggregation

Description

Auxiliary function for computing S and the effect on S of the three components of community structure: SAD, N, and aggregation

Usage

get_delta_curves(
  x,
  tests = c("SAD", "N", "agg"),
  spat_algo = NULL,
  inds = NULL,
  ind_dens = NULL,
  n_plots = NULL
)

Arguments

x

can either be a: 1) mob_in object or 2) a vector which contains the abundance of each species (i.e., the SAD). All effects can be computed when x is a mob_in object but only the SAD effect can be computed when x is a vector of species abundances.

tests

what effects to compute defaults to 'SAD', 'N', and 'agg'

spat_algo

character string that can be either: 'kNN' or 'kNCN' for k-nearest neighbor and k-nearest centroid neighbor sampling respectively. It defaults to k-nearest neighbor which is a more computationally efficient algorithm that closely approximates the potentially more correct k-NCN algo (see Details).

ind_dens

the density of individuals to compare against for computing N effect


MoBiodiv/mobr documentation built on Jan. 31, 2024, 6:15 p.m.