inter_geom_coord: Internal function to compute convexhull volume and vertice...

inter_geom_coordR Documentation

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"
)

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.

Value

A list of 2 elements.

coord

the vertice coordinates

vol

a volume corresponding to the intersection of the two hypervolumes

See Also

inter_rcdd_coord

Examples

## Not run: mat1 <- matrix(runif(30), 10)
mat2 <- matrix(runif(30), 10)
inter_geom_coord(mat1, mat2)
## End(Not run)

betapart documentation built on March 31, 2023, 10:29 p.m.