Learn R Programming

brainGraph (version 2.2.0)

plot.brainGraph_boot: Plot bootstrap output of global graph measures across densities

Description

This function plots the output of brainGraph_boot, returning two ggplot objects: one with shaded regions based on the standard error, and the other based on confidence intervals (calculated using the normal approximation.

Usage

# S3 method for brainGraph_boot
plot(x, ..., alpha = 0.4)

Arguments

x

The object output from brainGraph_boot

...

Not used

alpha

A numeric indicating the opacity for geom_ribbon

Value

A list with the following elements:

se

A ggplot object with ribbon representing standard error

ci

A ggplot object with ribbon representing confidence intervals

See Also

brainGraph_boot, boot.ci