Learn R Programming

betapart (version 1.6)

inter_geom_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 geometry functions

Usage

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

Value

A list of 2 elements.

vol

a volume corresponding to the intersection of the 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_coord

Examples

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

Run the code above in your browser using DataLab