layering | R Documentation |
Compute the topological ordering of the nodes of a network, in order to divide the network in layers.
layering(x) ## S4 method for signature 'BN' layering(x)
x |
a |
a vector containing layers the nodes can be divided into.
## Not run: dataset <- BNDataset("file.header", "file.data") x <- BN(dataset) x <- learn.network(x, dataset) layering(x) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.