inla.diameter {INLA} | R Documentation

## Diameter of a point set

### Description

since `⁠23.08.18⁠`. Use `fmesher::fm_diameter()` instead.

Find an upper bound to the convex hull of a point set

### Usage

    inla.diameter(x, ...)

### Arguments

`x` | A point set as an `n\times d` matrix, or an fmesher::fm_mesh_2d()] related object.
`...` | Additional parameters passed on to `fmesher::fm_diameter()`.

### Value

A scalar, upper bound for the diameter of the convex hull of the point set.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

### Examples

    inla.diameter(matrix(c(0, 1, 1, 0, 0, 0, 1, 1), 4, 2))

[Package INLA version 26.08.22 Index]