Description Usage Arguments Value
Create tessellations from data
1 2 3 |
x |
The data point coordinates |
y |
The classes of the data points |
target |
The first to target for polytopic analysis. Targeting only functions with two classes. Default is NA, which will target the first class if there are two classes. Use 0 to target no classes. A target is required to use the analyseSimplexes function on the tessellation object. |
method |
Not used - should be set to 1. |
domain |
The domain of the data. If not specified, the min and max values of each column are used. This can be used to calculate the size of the polytope outside the convex hull of the different tessellations (see outer). |
outer |
The size of the polytope outside the convex hull of the different tessellations. NA will calculate this from the domain. |
generative |
If TRUE the hypervolumes of the lifted polytopes are calculated. This enables the tessellations to be used as a generative model. |
A tessellations object with the following fields:
A list containing the class tessellations. This contains the fields:
A matrix giving the data points involved in the triangles of the tessellation. These refer to rows in the corresponding class data matrix.
A list giving the neighbors for each triangle. If positive, these values refer to the triangles in the trianlge matrix. If negative, then the triangle borders the exterior polytope on a given edge.
The areas of the triangles.
Matrices giving the data coordinates for the different classes.
A matrix giving the coordinates of the complete data set.
A vector giving the classes of the complete data set.
The number of dimensions.
A list of matrices the convex hulls of each tessellation/class data set.
A vector specifying the area lying outside each tessellation.
A matrix specifying the domain.
A vector containing class labels (numbers if all labels are numeric).
A vector specifying the point density estimates of the class data points.
For internal use.
The targeted class.
For internal use.
A list of matrices, one for each class. The nth column gives the linear model associated with the nth polytope in the tessellation for that class.
The hypervolumes associated with the polytopes of each tessellation.
The probability that a randomly sample from a density comes from a given polytope. The normalized hypervolumes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.