Learn R Programming

betapart (version 1.5.4)

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)

Arguments

set1

A matrix of coordinates

set2

A matrix of coordinates

qhull.opt
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

Run this code
# NOT RUN {
mat1 <- matrix(runif(30), 10)
mat2 <- matrix(runif(30), 10)
inter_rcdd(mat1, mat2)
# }

Run the code above in your browser using DataLab