Description Usage Arguments Value Author(s) Examples
This function will return the number of nodes for a given of graph.
1 |
data |
A data frame in which the columns (subjects) contain a 0/1 value for row (Node or Edge). |
type |
The type of graph being used (adjmatrix or adjmatrixlt). |
The number of individual nodes in the given graph.
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
1 2 3 4 | data(braingraphs)
brainnodes <- getNumNodes(braingraphs, "adjMatrix")
brainnodes
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.