Description Usage Arguments Value Author(s) Examples
Find an upper bound to the convex hull of a point set
1 2 3 4 5 6 7 8 9 10 11 12 | inla.diameter(x, ...)
## Default S3 method:
inla.diameter(x, manifold="", ...)
## S3 method for class 'inla.mesh'
inla.diameter(x, ...)
## S3 method for class 'inla.mesh.segment'
inla.diameter(x, ...)
## S3 method for class 'inla.mesh.lattice'
inla.diameter(x, ...)
## S3 method for class 'inla.mesh.1d'
inla.diameter(x, ...)
|
x |
A point set as an n x d matrix, or an
|
manifold |
Character string specifying the manifold type. Default is to treat the
point set with Euclidean R^d metrics. Use |
... |
Additional parameters passed on to other methods. |
A scalar, upper bound for the diameter of the convex hull of the point set.
Finn Lindgren <finn.lindgren@gmail.com>
1 | inla.diameter(matrix(c(0,1,1,0, 0,0,1,1), 4, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.