validGBNetworkObject: Validation of a GB network

Description Usage Arguments Details Value Examples

Description

This function verify if the GBN in argument is one that can be used by the main functions of this package.

Usage

1

Arguments

object

object - If it's a GBN, the function returns TRUE.

Details

The function tests the dimnames of all the elements of GBN (weightmatrix, mean and variance), and its acyclicity.

Value

It returns FALSE if the object in argument is not a GBN, and TRUE if it is.

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

andreamrau/GBNcausal documentation built on May 12, 2019, 3:34 a.m.