rnodeDAGWishart {BCDAG}  R Documentation 
This function performs one draw from the MultivariateNormalInverseGamma (prior/posterior) distribution of the parameters of a Normal linear regression model.
Response variable is node
and covariates are given by the parents of node
in DAG
.
It is implemented nodebynode in rDAGWishart
to obtain draws
from a compatible (prior/posterior) DAGWishart distribution.
rnodeDAGWishart(node, DAG, aj, U)
node 
numerical label of the node in 
DAG 

aj 
common shape hyperparameter of the compatible DAGWishart, 
U 
position hyperparameter of the compatible DAGWishart, a 
A list with two elements; a vector with one draw for the (vector) regression coefficient and a scalar with one draw for the conditional variance