homogeneity: Computing maximum homogeneity of two state sequences

View source: R/homogeneity.R

homogeneityR 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)


hhsmm documentation built on Aug. 8, 2023, 9:06 a.m.

Related to homogeneity in hhsmm...