calc_sigma_cpp {dbnR}R Documentation

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)

Arguments

fit

a bn.fit object as a Rcpp::List

order

a topological ordering of the nodes as a vector of strings

Value

the covariance matrix


[Package dbnR version 0.7.8 Index]