safely_add_node: Add a node safely to a bn object

Description Usage Arguments Value Examples

View source: R/compare_kinased_graphs.R

Description

This function takes a bn object and a node and adds it if it's not already in the nodeset.

Usage

1
safely_add_node(net, node)

Arguments

net

A bn object

node

A node label

Value

A bn object with the node added

Examples

1

AliSajid/KINNET documentation built on Jan. 17, 2022, 8:54 a.m.