View source: R/f05.nbnma.code.r
order4nbn | R Documentation |
returns one of the orders of the nodes such as the parents of any
node are less ranked than it when is.null(ord)
. If not check
that the proposed order is either a right permutation
(is.numeric(ord)
) or a vector of node names providing a
topological order (is.character(ord)
).
order4nbn(nbn, ord=NULL)
nbn |
|
ord |
|
When !is.null(ord)
the order must be an order, if not an error
is issued.
a permutation vector of the nodes of the /nbn/ or a named list with the nodes not having their parents before them.
names(rbmn0nbn.04)[order4nbn(rbmn0nbn.04)];
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.