tableau: Tableau Notation for Markov

View source: R/tableau.R

tableauR Documentation

Tableau Notation for Markov

Description

Print the tableau notation for a Markov move. See the reference provided, p. 13.

Usage

tableau(move, dim)

Arguments

move

a markov move matrix, where the columns are moves in vector form (e.g. the output of markov)

dim

the dimensions of the table form of the move, oftentimes a vector of the number of levels of each variable in order

Value

an object of class tableau

References

Drton, M., B. Sturmfels, and S. Sullivant (2009). Lectures on Algebraic Statistics, Basel: Birkhauser Verlag AG.

Examples


vec <- matrix(c(1, -1, -1, 1), nrow = 4)
varlvls <- c(2, 2)
tableau(vec, varlvls)



dkahle/latter documentation built on March 22, 2023, 9:05 p.m.