Description Usage Arguments Value Examples
An adjacency matrix is a matrix A of dimension n x n, with A[i, j] = 1 if an edge exist between nodes i and j, where n is the number of nodes.
1 2 | ## S3 method for class 'parental'
as.adjacency(x, ...)
|
x |
A object of class 'parental'. |
... |
unused |
An adjacency matrix.
1 2 | x <- parental(c(), c(1), c(2))
as.adjacency(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.