parallelCountNbd: parallelCountNbd

View source: R/RcppExports.R

parallelCountNbdR Documentation

parallelCountNbd

Description

Create a 3-D array containing the number of neighbors around each point, per species

Usage

parallelCountNbd(r, NbSpecies, x, y, Type, Weight)

Arguments

r

The vector of distances to take into account.

NbSpecies

The number of species of the community.

x, y

The coordinates of the points.

Type

A vector containing the species of each point (as integer, i.e. the factor code).

Weight

A vector containing the weights of points.


EricMarcon/SpatDiv documentation built on May 25, 2023, 12:54 p.m.