size.search: Size Search Algorithm

Description Usage Arguments Value See Also

Description

The size search algorithm finds the optimal number of HMM states for a set of sequences and returns both the optimal hmm object and the corresponding number of hidden states. Used in select.seeds.

Usage

1
size.search(sequences, log_space = FALSE, print = FALSE)

Arguments

sequences

An stslist object (see seqdef) of sequences with discrete observations.

log_space

Logical, parameter provided to fit_model for whether to use optimization in log space or not.

print

Logical, whether to print intermediate steps or not.

Value

A list with the optimal number of HMM states and the optimal hmm object.

See Also

Used in the DBHC seed selection procedure in select.seeds.


DBHC documentation built on May 2, 2019, 10:35 a.m.