powered by
Initializes the state specific mean vector, by sampling each element independently from its prior, i.e. truncated normal distribution..
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))
Vector of means of the truncated Normal distributions
Vector of standard deviations of the truncated Normal distributions
Vector of lower bounds of the truncated Normal distributions
Vector of upper bounds of the truncated Normal distributions
A vector of state specific mean, that could be used as input of the main function.
Guha S, Li Y, Neuberg D. Bayesian hidden Markov modelling of array cgh data. JASA. 2008;103(482):485-497.
# NOT RUN { mu <- InitMu() # }
Run the code above in your browser using DataLab