mb {einet}R Documentation

Create Markov Blanket

Description

Given a graph and a specified vector of internal node(s), returns the parents, the children, and the parents of the children of the internal node(s).

Usage

mb(graph, nodes = igraph::V(graph))

Arguments

graph

igraph or matrix object.

nodes

Numeric vector of vertices.

Value

A list of node descendants, parents, and neighbors.


[Package einet version 0.1.0 Index]