fm.sparse_get_pairs | R Documentation |
Export the internal arrays of the sparse capacity as arrays of singletons, pairs and tuples.
fm.sparse_get_pairs( envsp=NULL)
envsp |
Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n). |
output |
The output is the array of pairs and their number. |
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
n <- 3 envsp <- fm.PrepareSparseFM(n) envsp <-fm.add_pair_sparse(1,2, 0.4, envsp) envsp <-fm.add_pair_sparse(1,3, 0.3, envsp) pairs <- fm.sparse_get_pairs(envsp) pairs envsp <- fm.FreeSparseFM(envsp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.