Learn R Programming

betapart (version 1.6)

inter_rcdd_coord: 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)

Value

A list of 2 elements.

vol

a volume corresponding to the intersection of the two hypervolumes

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

See Also

inter_geom_coord

Examples

Run this code
if (FALSE) mat1 <- matrix(runif(30), 10)
mat2 <- matrix(runif(30), 10)
inter_rcdd_coord(mat1, mat2)

Run the code above in your browser using DataLab