Learn R Programming

latte (version 0.2.2)

tableau: Tableau Notation for Markov

Description

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

Usage

tableau(move, dim)

Value

an object of class tableau

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

References

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

Examples

Run this code

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


Run the code above in your browser using DataLab