print.visualize.correlations | R Documentation |
This function prints a plot including all pairwise correlation between centrality measures
## S3 method for class 'visualize.correlations'
print(x, scale = TRUE,
method = c("pearson", "kendall", "spearman"), file = NULL)
x |
a list indicating calculated centrality measures which is the output of "calculate_centralities" function |
scale |
Whether the centrality values should be scaled or not(default=TRUE) |
method |
character string describing the type of correlation coefficient (or covariance) to be computed. The proper values are "pearson", "kendall", or "spearman". (default="pearson") |
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_correlations
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.