A package written in R for the estimation of parameters in a regime switching auto-regressive process using the method of Gibbs sampling.