inter_rcdd: Internal function to compute convexhull volume

View source: R/functional.betapart.core.pairwise.R

inter_rcddR Documentation

Internal function to compute convexhull volume

Description

Estimation of the convexhull volume of the intersection of two hypervolumes based on rcdd functions

Usage

inter_rcdd(set1, set2, qhull.opt = "FA", conv2 = function(...) NA)

Arguments

set1

A matrix of coordinates

set2

A matrix of coordinates

qhull.opt

Qhull options, see http://www.qhull.org/html/qh-optq.htm

conv2

A function applyed if the convexhull function crashes

Value

A volume corresponding to the intersection of the two hypervolumes

See Also

inter_geom

Examples

## Not run: mat1 <- matrix(runif(30), 10)
mat2 <- matrix(runif(30), 10)
inter_rcdd(mat1, mat2)
## End(Not run)

betapart documentation built on March 31, 2023, 10:29 p.m.