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