Learn R Programming

mitre (version 0.6.0)

getNodeNeighbors: Returns a list of nodes and edges (neighbors) based on input node.

Description

Returns a list of nodes and edges (neighbors) based on input node.

Usage

getNodeNeighbors(
  nodes = c("T1104"),
  direction = "both",
  mitrenet = getLatestDataSet()[["mitrenet"]],
  verbose = FALSE
)

Arguments

nodes

MITRE Standard Id as character vector

direction

value should be: "from", "to" or "both"

mitrenet

MITRE network built with this package

verbose

default is FALSE

Value

list of nodes and edges