powered by
Randomize location of points on a network.
randomize_distmatrix(graph, edge_df, n, start_vert = NULL)
A numeric matrix with the distances between points
An graph object from igraph
A DataFrame describing the edges
The number of point
The vertices from which the distances will be calculated. if null, then the distances are calculated from the generated locations.
#This is an internal function, no example provided
Run the code above in your browser using DataLab