networktools: Tools for manipulating networks

Description Usage Arguments Details

Description

Various extraction/replacement functions for networks

Usage

1
2
3
4
5
6
7
8
modelstring(x)
makenw(tb,template)
as.network(nwstring,template)
size(x)
banlist(x)
banlist(x) <- value
getnetwork(x)
gettrylist(x)

Arguments

x

an object of class network.

tb

a table output from autosearch or heuristic in the list property table. Can be translated into a networkfamily.

template

an object of class network with the same nodes as the networks described in the table tb.

nwstring

a string representing the network.

value

a numeric matrix with two columns. Each row contains the indices i -> j of arrows that may not be allowed in the directed acyclic graph.

Details

The string representation of a network is a minimal size representation to speed up calculations. The functions modelstring, as.network and makenw converts between the string represention and network objects.

size extracts the number of nodes in a network object.

banlist extracts the banlist from a network object.

getnetwork and gettrylist are accessor function that extracts a network object or trylist from the result from autosearch, heuristic, learn, perturb, networkfamily, drawnetwork.


deal documentation built on May 2, 2019, 9:01 a.m.

Related to networktools in deal...