View source: R/ec_computation.R
compute_discrete_ec_curve | R Documentation |
Computes the EC curve of a mesh on relative to the shape. The filtration steps for which the
(S/D) EC curve are computed is done relative to the shape. For filtrations steps that are computed relative to a bounding ball, use
compute_standardized_ec_curve
. For comparisons with multiple shapes, this is not the recommended function.
compute_discrete_ec_curve(
complex,
vertex_function,
curve_length,
first_column_index = FALSE
)
complex |
(list) : The list containing metadata about the mesh; use |
vertex_function |
(matrix): A matrix containing the projections of each vertex along a given direction. Computed as the dot product of the vertex onto the direction on the unit sphere. |
curve_length |
(int): The number of sub-level sets for which to compute the EC curve on in a given direction. |
first_column_index |
(boolean): Specifying the vertex index is included in the vertex function matrix. |
ec_curve (nx2 matrix): A matrix containing the EC curve of the given simplicial complex with the first index as the projections for which the EC was computed on.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.