homogeneity {hhsmm}R Documentation

Computing maximum homogeneity of two state sequences

Description

A function to compute the maximum homogeneity of two state sequences.

Usage

homogeneity(state.seq1, state.seq2)

Arguments

state.seq1

first state sequence

state.seq2

second state sequence

Value

a vector of a length equal to the maximum number of states giving the maximum homogeneity ratios

Author(s)

Morteza Amini, morteza.amini@ut.ac.ir

Examples

state.seq1 = c(3, 3, 3, 1, 1, 2, 2, 2, 2)
state.seq2 = c(2, 2, 2, 3, 3, 1, 1, 1, 1)
homogeneity(state.seq1, state.seq2)


[Package hhsmm version 0.4.0 Index]