Description Usage Arguments Details Value
View source: R/markov_minimalism.R
Populate a Q-matrix, otherwise called infinitesimal generator matrix of a modified birth and death process that models the entry-exits of voices in a musical piece.
1 | entryExitQ(num_voices, bd_rates)
|
num_voices |
number of voices (positive integer) in piece |
bd_rates |
the modified birth-death process rates, see details |
The argument bd_rates must be a named list with elements
rest the rate of transitions to rests
down the rate of transitions down a voice
up the rate of transitions up a voice
rest_any the rate of transitions from a rest to any number of voices
full_any the rate of transitions from full-band to any number of voices
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.