plot.chtrs | R Documentation |
Requires ggraph
and ggplot2
to work.
## S3 method for class 'chtrs' plot(x, weight_range = c(0.4, 1), remove_lonely = TRUE, digits = 0, ...) ## S3 method for class 'chtrs' hist(x, ...)
x |
output of |
weight_range |
range of edge values to plot |
remove_lonely |
should lonely nodes (not connected to any edges) be removed from the graph? |
digits |
Number of digits to round the percentage to. |
... |
passed to |
A ggplot2
plot.
Mattan S. Ben-Shachar
if (interactive()) { files <- choose.files() res <- catch_em(files) plot(res) hist(res) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.