link_network_map2 {netmap} | R Documentation |
Link a network and a map with a lookup table
Description
Checks which vertices of a network object can be represented with features of a sf object with a lookup table.
Usage
link_network_map2(m, n, lkp, m_name = NULL, n_name = NULL)
Arguments
m |
Object of class |
n |
Object of class |
lkp |
Lookup table, a |
m_name |
Optional character, name of field in |
n_name |
Optional character, name of vertex attribute in |
Value
On success a list with two vectors, one of features in m
present
both in the lookup table and in n
, the other of nodes in n
present
both in the lookup table and in m
, -1
on error.
[Package netmap version 0.1.4 Index]