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

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)
#> 1 1 - 1 2 #> 2 2 2 1