SingleBatchModel: Constructors for SB and SBP models

Description Usage Arguments Value See Also Examples

Description

This creates a MultiBatchModel object with a single batch.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
SingleBatchModel2(dat = numeric(), hp = Hyperparameters(),
  mp = McmcParams(iter = 1000, burnin = 1000, thin = 10, nStarts = 4))

SB(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))

SBP(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

An instance of MultiBatchModel

See Also

MultiBatchModel2

MultiBatchModel2

Examples

1
2
3
4
5
6
SB()
SB(dat=rnorm(100), hpList(k=2)[["SB"]])
## pooled variance model
SingleBatchPooled()
## or, equivalently
SBP()

CNPBayes documentation built on May 6, 2019, 4:06 a.m.