getLinkingToComponent: Get components that link to given components

View source: R/solution_to_graph.R

getLinkingToComponentR Documentation

Get components that link to given components

Description

Get components that link to given components

Usage

getLinkingToComponent(
  graph,
  names,
  distance = 50,
  linkage = "allsteps",
  type = "all"
)

Arguments

graph

graph object of class dgr_graph

names

names (id attributes) of selected components

distance

maximum distance from given components

linkage

all steps, same step or previous step

type

type of components

Value

graph object of class dgr_graph


simplaceUtil documentation built on Aug. 6, 2024, 3:01 p.m.