InitMu: Preprocessing - Initialize state specific mean vector

Description Usage Arguments Value Author(s) References Examples

View source: R/InitMu.R

Description

Initializes the state specific mean vector, by sampling each element independently from its prior, i.e. truncated normal distribution..

Usage

1
2
InitMu(deltak = c(-1, 0, 0.58, 1), tauk = c(1, 1, 1, 2),
low_bounds = c(-Inf, -0.1, 0.1, 0.73), upp_bounds = c(-0.1, 0.1, 0.73, Inf))

Arguments

deltak

Vector of means of the truncated Normal distributions

tauk

Vector of standard deviations of the truncated Normal distributions

low_bounds

Vector of lower bounds of the truncated Normal distributions

upp_bounds

Vector of upper bounds of the truncated Normal distributions

Value

A vector of state specific mean, that could be used as input of the main function.

Author(s)

Alberto Cassese

References

Guha S, Li Y, Neuberg D. Bayesian hidden Markov modelling of array cgh data. JASA. 2008;103(482):485-497.

Examples

1
mu <- InitMu()

iBATCGH documentation built on Oct. 23, 2020, 6:34 p.m.