compile-cpt: Compile conditional probability tables / cliques potentials.

Description Usage Arguments Value Author(s) References See Also

Description

Compile conditional probability tables / cliques potentials as a preprocessing step for creating a graphical independence network

Usage

1
2
3
compileCPT(x, forceCheck = TRUE, details = 0)

compilePOT(x)

Arguments

x

To compileCPT x is a list of conditional probability tables; to compilePOT, x is a list of clique potentials

forceCheck

Controls if consistency checks of the probability tables should be made.

details

Controls amount of print out. Mainly for debugging purposes

Value

compileCPT returns a list of class 'cptspec' compilePOT returns a list of class 'potspec'

Author(s)

S<c3><b8>ren H<c3><b8>jsgaard, [email protected]

References

S<c3><b8>ren H<c3><b8>jsgaard (2012). Graphical Independence Networks with the gRain Package for R. Journal of Statistical Software, 46(10), 1-26. http://www.jstatsoft.org/v46/i10/.

See Also

extractCPT, extractPOT


gRain documentation built on May 30, 2017, 8:20 a.m.