View source: R/f02.chain.code.r
order4chain | R Documentation |
From a chain
object returns one of the possible topological
orders, through a permutation when is.null(ord)
. If not
ord
must be a proposed order to be checked given as a
permutation if is.numeric(ord)
or a vector of ordered names if
is.character(ord)
.
order4chain(chain, ord=NULL)
chain |
the |
ord |
Indicates what must be done. |
For the moment the ord
option is bad and an error message is
returned when used.
a permutation vector of the nodes of the /nbn/ or a named character with the nodes not having their parents before them; when it is of length zero this means that the check was successful.
order4chain(rbmn0chain.02);
order4chain(rbmn0chain.02, order4chain(rbmn0chain.02));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.