Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

networktools

Tools for manipulating networks


Description

Various extraction/replacement functions for networks

Usage

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

Learning Bayesian Networks with Mixed Variables

v1.2-39
GPL (>= 2)
Authors
Susanne Gammelgaard Bottcher, Claus Dethlefsen.
Initial release
2018-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.