Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


dbnR (version 0.7.8)

calc_sigma_cpp: Calculate the sigma covariance matrix of a Gaussian linear network. This is the C++ backend of the function.

Description

Calculate the sigma covariance matrix of a Gaussian linear network. This is the C++ backend of the function.

Usage

calc_sigma_cpp(fit, order)

Value

the covariance matrix

Arguments

fit

a bn.fit object as a Rcpp::List

order

a topological ordering of the nodes as a vector of strings