scoreParentsTableNode: Score a node-level parentsTable.

Description Usage Arguments Value See Also

View source: R/parents-table.R

Description

Computes the local scores of all the Bayesian Networks, with node node set to parent sets corresponding to each row of a single component of a parentsTable.

Usage

1
2
  scoreParentsTableNode(node, parentsTable,
    logScoreLocalFUN, logScoreParameters, localPrior)

Arguments

node

A node. A numeric vector of length 1.

parentsTable

A component of a parentsTable, of the form created by enumerateParentsTable().

logScoreLocalFUN

A function that computes the local logScore of a Bayesian Network.

logScoreParameters

A list of parameters that are passed to logScoreFUN.

localPrior

function that returns the prior score of the supplied parents.

Value

A numeric vector of scores.

See Also

scoreParentsTable


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