View source: R/geodesic_stats.R
| compute.vertex.geodesic.stats | R Documentation |
Analyzes how the number of geodesics scales with radius for a specific grid vertex.
compute.vertex.geodesic.stats(
adj.list,
weight.list,
grid.vertex,
min.radius = 0.2,
max.radius = 0.5,
n.steps = 5,
n.packing.vertices = length(adj.list),
packing.precision = 1e-04
)
adj.list |
List of integer vectors. Each vector contains indices of vertices adjacent to the corresponding vertex. Indices should be 1-based. |
weight.list |
List of numeric vectors. Each vector contains weights of edges corresponding to adjacencies in adj.list. |
grid.vertex |
Integer. The grid vertex to analyze. |
min.radius |
Numeric. Minimum radius as a fraction of graph diameter. |
max.radius |
Numeric. Maximum radius as a fraction of graph diameter. |
n.steps |
Integer. Number of radius steps to test. |
n.packing.vertices |
Integer. Number of vertices in the grid/packing. |
packing.precision |
Numeric. Precision threshold for packing convergence. |
A data frame of class "vertex_geodesic_stats" with columns:
Actual radius used.
Number of geodesic rays within radius.
Number of composite geodesics.
Minimum overlap ratio.
5th percentile overlap ratio.
25th percentile overlap ratio.
Median overlap ratio.
75th percentile overlap ratio.
95th percentile overlap ratio.
Maximum overlap ratio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.