calc_mu_cpp: Calculate the mu vector of means of a Gaussian linear...

View source: R/RcppExports.R

calc_mu_cppR 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


dkesada/dbnR documentation built on June 19, 2024, 6:45 p.m.