| Network tools | R Documentation |
Various extraction/replacement functions for networks
modelstring(x) makenw(tb,template) as.network(nwstring,template) size(x) banlist(x) banlist(x) <- value getnetwork(x) gettrylist(x)
x |
an object of class |
tb |
a table output from |
template |
an object of class |
nwstring |
a string representing the network. |
value |
a numeric matrix with two columns. Each row contains the
indices |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.