print.visualize.graph | R Documentation |
This function prints visualized based on centrality values graph.
## S3 method for class 'visualize.graph'
print(x, computed_centrality_value = NULL,
centrality.type = "Degree Centrality", file = NULL)
x |
an igraph object |
computed_centrality_value |
A vector containing the values of calculated centrality measure for each node(default=NULL) |
centrality.type |
The type of centrality which should be calculated(default="Degree Centrality") |
file |
A character string naming the .pdf file to print into. If NULL the result would be printed to the exist directory.(default=NULL) |
The resulted plot of visualize_graph
function will be saved in the given directory.#' @importFrom igraph alpha.centrality
Minoo Ashtiani, Mohieddin Jafari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.