inter_rcdd_coord {betapart}R Documentation

Internal function to compute convexhull volume and vertice coordinates

Description

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

Usage

inter_rcdd_coord(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 list of 2 elements.

coord

the vertice coordinates

vol

a volume corresponding to the intersection of the two hypervolumes

See Also

inter_geom_coord

Examples

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

[Package betapart version 1.6 Index]