Learn R Programming

betapart (version 1.6)

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

Value

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

Examples

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

Run the code above in your browser using DataLab