ppi | R Documentation |
ppi runs 4ti2's ppi program to compute the primitive partition identities, that is, the Graver basis of 1:N.
ppi(N, dir = tempdir(), quiet = TRUE, shell = FALSE, ...)
N |
A postive integer > 2 |
dir |
Directory to place the files in, without an ending / |
quiet |
If FALSE, messages the 4ti2 output |
shell |
Messages the shell code used to do the computation |
... |
Additional arguments to pass to the function |
A matrix containing the basis as its columns (for easy addition to tables)
graver()
if (has_4ti2()) {
ppi(3)
t(ppi(3)) %*% 1:3
plot_matrix(ppi(3))
graver(t(1:3))
plot_matrix(graver(t(1:3)))
ppi(5, quiet = FALSE, shell = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.