calc_mu_cpp {dbnR}R Documentation

Calculate the mu vector of means of a Gaussian linear network. This is the C++ backend of the function.

Description

Calculate the mu vector of means of a Gaussian linear network. This is the C++ backend of the function.

Usage

calc_mu_cpp(fit, order)

Arguments

fit

a bn.fit object as a Rcpp::List

order

a topological ordering of the nodes as a vector of strings

Value

the map with the nodes and their mu. Returns as a named numeric vector


[Package dbnR version 0.7.8 Index]