check8chain: checks a /chain/ object

View source: R/f02.chain.code.r

check8chainR Documentation

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)

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.

Value

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

Examples

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

rbmn documentation built on July 9, 2023, 6:37 p.m.