indicate_run: Indicate whether or not there is a run at a point in a...

Description Usage Arguments

Description

indicate_run takes an integer vector bin_chain, and two integers, p and i, and tells the user if a run of length p starting and index i in the form of a Boolean value.

Usage

1
indicate_run(bin_chain, p, i)

Arguments

bin_chain

A binary chain of data in the form of an integer vector.

p

A integer value representing the length of the run to test for.

i

A integer value representing the location in bin_chain to test for a run starting at.


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