SingleBatchModel2 {CNPBayes}R Documentation

Constructors for SB and SBP models

Description

Create objects of class SingleBatchModel or SingleBatchPooled

Usage

SingleBatchModel2(dat = numeric(), hp = Hyperparameters(),
  mp = McmcParams(iter = 1000, burnin = 1000, thin = 10, nStarts = 4))

SingleBatchPooled(dat = numeric(), hp = Hyperparameters(),
  mp = McmcParams(iter = 1000, burnin = 1000, thin = 10, nStarts = 4))

Arguments

dat

numeric vector of average log R ratios

hp

an object of class Hyperparameters

mp

an object of class McmcParams

Value

An instance of MultiBatchModel

See Also

MultiBatchModel2

Examples

SingleBatchModel2()
SingleBatchModel2(dat=rnorm(100), hpList(k=2)[["SB"]])
SingleBatchPooled()

[Package CNPBayes version 1.10.0 Index]