Description Usage Arguments Details Value Note Author(s) See Also Examples

Function to transform data from/to matrix/list formats representing a network.

1 2 |

`x` |
an array or a list of pair relations |

`type` |
whether the transformation is from a matrix to a list of pair relations, or from a list of pair relations to an array format |

`lb2lb` |
(logical) whether the transformation is label-to-label |

`lbs` |
(optional) the labels in the transformation |

`ord` |
(optional) the order of the resulted structure (' |

`sep` |
(optional) the pair separator for the pairwise relations |

'`tolist`

' is the option to transform a matrix or an array to a list of pair elements. In case that the `lb2lb`

is enabled in this type of transformation, then `lbs`

must be provided, whereas the pair separator is optional. On the other hand '`toarray`

' will produce a matrix from a list of pair elements, and in this case is advisable to specify the order of the structure. Three dimensional structures are now supported.

Data frames are also accepted for the '`tolist`

' option, but in case that this information is given as a list of pair relations the output will be a square matrix.

Depending on the input data, the result is either a list of pair relations or a matrix of relations.

For high dimensional arrays, the `rel.sys`

function privides additional information other than the list of pair relations of the entire structure.

Antonio Rivero Ostoic

`read.srt`

, `bundles`

, `reduc`

, `rel.sys`

1 2 3 4 5 |

multiplex documentation built on May 19, 2017, 6:57 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.