Learn R Programming

rbmn (version 0.9-6)

check8chain: checks a /chain/ object

Description

checks the consistency of chain as a /chain/ object issues a fatal error with some clues if inconsistent.

Usage

check8chain(chain)

Value

TRUE or a character containing some clue about the discovered inconsistency.

Arguments

chain

The chain object to check.

Details

Looking a the code of this function provides a way to know which are the requirements of a /chain/ object.

Examples

Run this code
 check8chain(rbmn0chain.01);
 res <- check8chain(rbmn0adja.01);
 if (is.na(as.logical(res))) { print(res);}

Run the code above in your browser using DataLab