check8nbn {rbmn}R Documentation

checks a /nbn/ object

Description

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

Usage

check8nbn(nbn, sto = FALSE)

Arguments

nbn

The nbn object to check.

sto

If 'TRUE', the possible error is displayed and the process is stopped. If 'FALSE', the possible error is returned as a character.

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

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

[Package rbmn version 0.9-6 Index]