Learn R Programming

betapart (version 1.6)

inter_geom: Internal function to compute convexhull volume

Description

Estimation of the convexhull volume of the intersection of two hypervolumes based on the intersectn function

Usage

inter_geom(ps1, ps2, options = "Tv", tol = 0, fp = NULL, qhull.opt = "n FA")

Value

the convex hull volume of the intersection of two hypervolumes

Arguments

ps1

A matrix of coordinates.

ps2

A second matrix of coordinates.

options

Options pass to halfspacen.

tol

Tolerance, see intersectn.

fp

Coordinates of feasible point (NULL).

qhull.opt

qhull options.

See Also

inter_rcdd, intersectn

Examples

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

Run the code above in your browser using DataLab