Description Usage Arguments Value Author(s)
Reduce the tensor to one matrix by summing all slices efficiently.
1 | tensor2mat(X,binary=FALSE,symmetrize=FALSE)
|
X |
List of tensor slices (Latent folding). |
binary |
when true returns binary matrix (i.e. ignores multiple connections between entities), default FALSE. |
symmetrize |
when true all relations are considered symetric before adding the slices, default FALSE. |
Adjacency matrix according to flags binary and symmetrize.
Abdelmoneim Amer Desouki
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.