df.create | R Documentation |
Creates an empty data frame with as many columns as in the corresponding matrix.
df.create(M, names = TRUE)
M |
a square adjacency matrix or a list of square adjacency matrices. |
names |
a boolean, if true then a column is added in the data frame with the names of the matrix columns. |
if argument M is a matrix, then it creates a single empty data frame with as many rows as columns of the corresponding matrix.
if the argument M is a list of matrices, it creates a list of empty data frames with as many rows as columns of the corresponding matrix in the list.
Sebastian Sosa, Ivan Puga-Gonzalez.
sim.m
df.create(sim.m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.