BNSamplerPT: Undocumented.

Description Usage Arguments See Also

View source: R/mcmc-pt.R

Description

method description

Usage

1
2
3
4
5
6
  BNSamplerPT(data, initial, prior, return = "network",
    logScoreFUN = logScoreMultDirFUN(),
    logScoreParameters = list(hyperparameters = "bdeu"),
    constraint = NULL, modejumping = F, verbose = F,
    keepTape = F, temp = 1,
    cache = new.env(hash = T, size = 10000L))

Arguments

data

...

initial

...

prior

...

return

...

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.

logScoreParameters

...

constraint

...

modejumping

...

verbose

...

keepTape

...

temp

...

cache

...

See Also

drawPT. BNSampler, BNSamplerMJ, BNGibbsSampler, BNSamplerBigFlips, BNSamplerGrzeg


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