eval.prior: Compute prior score of a Bayesian network.

Description Usage Arguments Value

View source: R/priors.R

Description

Computes the complete prior of a network, from a localPriors object

Usage

1
  eval.prior(x, localPriors)

Arguments

x

An object of class 'bn'.

localPriors

A list of functions of the same length as x that returns the local prior score of the corresponding node, given a numeric vector of parents.

Value

The prior of the complete network x


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.