Learn R Programming

snapCGH (version 1.42.0)

find.param.two: Yields output when there are 2 underlying states

Description

This function provides the output (means/variances, transition matrix, likelihood) when the heterogeneous HMM is fitted with two underlying states. It is a workhorse of the process.data function.

Usage

find.param.two(output.optim,var.fixed)

Arguments

output.optim
The output from fitting a heterogeneous HMM when there are two underlying states
var.fixed
Logical variable - TRUE if you want to tie the variance across states. Defaults to FALSE

Value

This function outputs the state means/variances, transition matrices, rate parameters, maximised likelihood and convergence information provided by fitting a heterogeneous HMM with two underlying states.