Compile conditional probability tables / cliques potentials as a preprocessing step for creating a graphical independence network
compile_cpt(x, forceCheck = TRUE)compile_pot(x)
To compile_cpt
x is a list of conditional
probability tables; to compile_pot
, x is a list of clique
potentials.
Controls if consistency checks of the probability tables should be made.
Additional arguments; currently not used.
A list with a class attribute.
compileCPT
, compilePOT
are wrappers for
compile_cpt
and compile_pot
and are kept for
backward compatibility.
S<U+00F8>ren H<U+00F8>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/.