bnpostmcmc: BN Posterior from MCMC.

Description Usage Arguments See Also

View source: R/post-mcmc.R

Description

method description

Usage

1
  bnpostmcmc(sampler, samples, logScoreFUN)

Arguments

sampler

...

samples

...

logScoreFUN

A list of four elements:

offline

A function that computes the logScore of a Bayesian Network

online

A function that incrementally computes the logScore of a Bayesian Network

local

A function that computes the local logScore of a Bayesian Network

prepare

A function that prepares the data, and any further pre-computation required by the logScore functions.

For Multinomial-Dirichlet models, logScoreMultDirFUN returns the appropriate list; for Normal models with Zellner g-priors, logScoreNormalFUN returns the appropriate list.

See Also

bnpost, bnpostmcmc.list. length.bnpostmcmc, top.bnpostmcmc, map.bnpostmcmc, logScoreMultDir.bnpostmcmc, gp.bnpostmcmc, ep.bnpostmcmc


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