link_network_map {netmap} | R Documentation |
Link a network and a map
Description
Checks which vertices of a network
object can be represented with
features of a sf
object.
Usage
link_network_map(m, n, m_name, n_name = "vertex.names")
Arguments
m |
Object of class |
n |
Object of class |
m_name |
Name of the map field to use for the link. |
n_name |
Name of the vertex attribute to use for the link, defaults to
|
Value
On success a list with two vectors, one of features in m
present in n
, the other of nodes in n
present in m
,
-1
on error.
[Package netmap version 0.1.4 Index]