randomize_distmatrix: Points on network randomization

View source: R/k_functions_sf.R

randomize_distmatrixR Documentation

Points on network randomization

Description

Randomize location of points on a network.

Usage

randomize_distmatrix(graph, edge_df, n, start_vert = NULL)

Arguments

graph

An graph object from igraph

edge_df

A DataFrame describing the edges

n

The number of point

start_vert

The vertices from which the distances will be calculated. if null, then the distances are calculated from the generated locations.

Value

A numeric matrix with the distances between points

Examples

#This is an internal function, no example provided

JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.