centrality and clustering plots | R Documentation |
These functions can be used to facilitate interpreting centrality and clustering coefficients. The plot functions use ggplot2 (Wickham, 2009). The table functions create a long format table which can easilly be plotted in ggplot2.
centralityPlot(..., labels, scale = c("raw0", "raw", "z-scores", "relative"),
include =c("Degree","Strength","OutDegree","InDegree","OutStrength",
"InStrength"), theme_bw = TRUE, print = TRUE, verbose = TRUE,
standardized, relative, weighted = TRUE,signed = TRUE,
orderBy = "default", decreasing = FALSE)
clusteringPlot(..., scale = c("raw0", "raw", "z-scores", "relative"), labels,
include , signed = FALSE, theme_bw = TRUE, print = TRUE,
verbose = TRUE, standardized, relative,orderBy = "default",
decreasing = FALSE)
centralityTable(..., labels, standardized = TRUE, relative = FALSE, weighted =
TRUE, signed = TRUE)
clusteringTable(..., labels, standardized = TRUE, relative = FALSE,
signed = FALSE)
... |
Objects usuable in the |
scale |
Scale of the x-axis. |
labels |
A vector overwriting the labels used. Can be missing. |
include |
A vector of measures to include. if missing all measures available will be included. Not included by default are |
theme_bw |
Adds the ggplot2 black and white theme to the plot |
print |
If |
verbose |
Should messages be printed to the console? |
standardized |
Logical, should all measures be standardized? Argument is deprecated and will be removed. |
relative |
Logical, should all measures be scaled relative to the largest value? Argument is deprecated and will be removed. |
weighted |
Logical, set to |
signed |
Logical, set to |
orderBy |
String indicating which measure to order by. Can be default (alphabetical), or one of the measures plotted (e.g., |
decreasing |
Logical indicating if the nodes should be ordered increasing or decreasing |
Sacha Epskamp <mail@sachaepskamp.com> and Jolanda Kossakowski
H. Wickham. ggplot2: elegant graphics for data analysis. Springer New York, 2009.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.