check_network_sf {netmap} | R Documentation |
Internal checks before ggnetmap and ggcentrality
Description
Checks whether the proper packages are installed, whether the parameters are of the proper classes, whether the network-map link is possible, then performs the link.
Usage
check_network_sf(n, m, lkp = NULL, m_name = NULL, n_name = "vertex.names")
Arguments
n |
A |
m |
A |
lkp |
An optional lookup table. |
m_name |
Optional |
n_name |
Optional |
Value
A list with a network
or igraph
object with only the
vertices present in the sf
object as the first element and 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
[Package netmap version 0.1.4 Index]