SingleBatchModel2 {CNPBayes} | R Documentation

## Constructors for SB and SBP models

### Description

This creates a MultiBatchModel object with a single batch.

### Usage

    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

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

[Package CNPBayes version 1.12.0 Index]