lawrence | R Documentation |
Compute the Lawrence lifting of a configuration matrix
lawrence(A, k = 1, extent = c("short", "tall"))
A |
the configuration matrix of the model |
k |
kth Lawrence lifting |
extent |
short or tall version |
an integer matrix
David Kahle david@kahle.io
Aoki, Hara, and Takemura (2012), pp. 61-62
(A <- hmat(c(2,2), 1:2))
plot_matrix(A) # in package latte
lawrence(A)
plot_matrix(lawrence(A))
lawrence(A, 2)
plot_matrix(lawrence(A, 2))
lawrence(A, extent = "tall")
plot_matrix(lawrence(A, extent = "tall"))
plot_matrix(A)
plot_matrix(lawrence(A))
plot_matrix(lawrence(A, 2))
plot_matrix(lawrence(A, 3))
plot_matrix(lawrence(A, 20))
plot_matrix(lawrence(A))
plot_matrix(lawrence(A, extent = "tall"))
## Not run: # requires 4ti2
J <- 10 # number of levels
A <- rbind(1L, 1:J)
markov(A)
lawrence(A)
plot_matrix(lawrence(A))
markov(lawrence(A))
# markov(lawrence(A, 2)) # takes unknown long time when J=10
zbasis(lawrence(A))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.