View source: R/plot_vertex_measures.R
plot_vertex_measures | R Documentation |
Creates boxplots of a single vertex-level graph measure at a single density
or threshold, grouped by the variable specified by group.by
and
optionally faceted by another variable (e.g., lobe or network).
plot_vertex_measures(g.list, measure, facet.by = NULL,
group.by = getOption("bg.group"), type = c("violin", "boxplot"),
show.points = FALSE, ylabel = measure, ...)
g.list |
A |
measure |
A character string of the graph measure to plot |
facet.by |
Character string indicating the variable to facet by (if
any). Default: |
group.by |
Character string indicating which variable to group the data
by. Default: |
type |
Character string indicating the plot type. Default:
|
show.points |
Logical indicating whether or not to show individual data points (default: FALSE) |
ylabel |
A character string for the y-axis label |
... |
Arguments passed to |
A trellis
or ggplot
object
Christopher G. Watson, cgwatson@bu.edu
## Not run:
p.deg <- plot_vertex_measures(g[[1]], facet.by='network', measure='degree')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.