n_counts_multiple: Second order transition counts for multiple binary chains.

Description Usage Arguments

Description

n_counts_multiple counts the number of second order transitions in a integer matrix whose rows represent individual binary chains. It returns a three dimensional vector whose indices represent the type of transition, and whose values represent the number of times that each transition occurs in the set of chains.

Usage

1
n_counts_multiple(bin_chains, n_chain_uniques)

Arguments

bin_chains

A two dimensional integer vector, each of whose rows represents a single binary chain of data.

n_chain_uniques

The number of unique values in the set of chains bin_chains, represented as an integer value.


cwcartmell/maRkov documentation built on May 14, 2019, 1:37 p.m.