pw_mat_to_df {graph4lg} | R Documentation |
Convert a pairwise matrix into an edge-list data.frame
Description
The function converts a pairwise matrix into an edge-list data.frame
Usage
pw_mat_to_df(pw_mat)
Arguments
pw_mat |
A pairwise matrix which can be:
|
Value
An object of class data.frame
Author(s)
P. Savary
Examples
data(data_tuto)
pw_mat <- data_tuto[[1]]
df <- pw_mat_to_df(pw_mat)
[Package graph4lg version 1.8.0 Index]