reduce_to_map {netmap}R Documentation

Reduces network to vertices present on the map

Description

Removes vertices from a network or igraph object which are not present in the link vector produced by link_network_map or link_network_map2.

Usage

reduce_to_map(n, link, n_name)

Arguments

n

A network or igraph object.

link

A vector with the identifiers of the vertices to keep.

n_name

Name of the vertex attribute to filter on.

Value

A network or igraph object with only the vertices listed in link.


[Package netmap version 0.1.4 Index]