Description Usage Arguments Value Author(s)
This function generates Random Adjacency or Edge Matrix of a specific size and degree of sparsity.
1 |
matSiz |
A scalar specifying the size of the matrix. As the result is a square matrix only a scalar is requiered. |
spa |
The degree of sparsity specified with a number from 0 to 1. |
upp |
An indicator indicating if the result should be an Upper Triangular Matrix. The default is TRUE. |
A Random Square Matrix encoding the Adjacency of vertices on a graph. If upp is TRUE (defualt) the result would by an upper triangular matrix.
Rene Gutierrez Marquez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.