x2nom: returns the "nom" slot of an object

Description Usage Arguments Value Examples

View source: R/f1.rbsb2.code.r

Description

when 'x' is a 'nom' object returns it. Else checks if x@nom exists and returns it, if not a fatal error is issued.

Usage

1
x2nom(x)

Arguments

x

the bn/gn/dn/gn/.. or nom object

Value

a 'nom' object

Examples

1
2
 rbsb3k("RESET"); # needed only for R checking, to be forgotten
 identical(rbsb.nom0, x2nom(rbsb.nom0));

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to x2nom in rbsb...