check8nbn: checks a /nbn/ object

View source: R/f03.nbnmi.code.r

check8nbnR 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);}

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