count.states: count states

Description Usage Arguments Details

Description

Counts how many heterogeneous states there are as a function of distance from homogeneous states.

Usage

1
count.states(m, model.strong.ase = TRUE)

Arguments

m

integer, the number of tissues

model.strong.ase

logical, if TRUE then there are three groups, if FALSE then only two groups

Details

MP 24-Feb-2014, 29-Dec-2014

Distance is the smallest number of changes that turns the state into one of the homogeneous states. Thus maximum distance is m-ceiling(m/3) when model.strong.ase==TRUE, and floor(m/2) when model.strong.ase==FALSE minimum is 1 (for a heterogeneous state).


anthony-aylward/asepirinen documentation built on May 13, 2019, 11:29 a.m.