centroid_accumulate: Internal function used by kNCN_average to compute the k-NCN...

View source: R/k-NCN_curve_functions.R

centroid_accumulateR Documentation

Internal function used by kNCN_average to compute the k-NCN algorithm starting with a specified focal sample

Description

Internal function used by kNCN_average to compute the k-NCN algorithm starting with a specified focal sample

Usage

centroid_accumulate(
  x,
  focal_sample = 1,
  n = NULL,
  coords = NULL,
  latlong = FALSE
)

Arguments

x

a mob_in object or a community site x species matrix

focal_sample

an integer from 1 to the number of samples of x that specifies which sample to start with. Defaults to 1

n

the number of samples to accumulate, defaults to NULL in which case all samples are accumulated

coords

the spatial coordinates of the samples of x

latlong

if latitude longitude arguments are supplied


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