Learn R Programming

rbmn (version 0.9-6)

is8nbn8chain: Checks if a given /nbn/ is a /chain/

Description

returns TRUE [the order] or FALSE [NULL] according that nbn is a chain of not [according to order].

Usage

is8nbn8chain(nbn, order=FALSE)

Value

A logical(1) when order si TRUE if not the resulting chain order versus NULL.

Arguments

nbn

The nbn object to consider.

order

When FALSE the answer to the question is returned with TRUE or FALSE.
When TRUE the chain order of the nodes is returned if it is a /chain/ else NULL.

Examples

Run this code
is8nbn8chain(rbmn0nbn.01);
is8nbn8chain(rbmn0nbn.04);

Run the code above in your browser using DataLab