| plot.boot_glasso | R Documentation |
Plots bootstrap results for GLASSO networks.
## S3 method for class 'boot_glasso'
plot(x, type = "edges", measure = NULL, ...)
x |
A |
type |
Character. Plot type: |
measure |
Character. Centrality measure for
|
... |
Additional arguments passed to plotting functions. For
|
A ggplot object, invisibly.
set.seed(1)
dat <- as.data.frame(matrix(rnorm(60), ncol = 3))
bg <- boot_glasso(dat, iter = 10, cs_iter = 5, centrality = "strength")
plot(bg, type = "edges")
set.seed(42)
mat <- matrix(rnorm(60), ncol = 4)
colnames(mat) <- LETTERS[1:4]
boot <- boot_glasso(as.data.frame(mat), iter = 20, cs_iter = 10,
centrality = "strength", seed = 42)
plot(boot, type = "edges")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.