Description Usage Arguments Value Examples
View source: R/plot_path_network.R
Plot Paths as Sankey Network
1 2 3 4 5 | plot_path_network(paths, max_depth = 3, nodePadding = 8,
nodeHeight = 10, sinksRight = FALSE, remove_common_root = TRUE,
names_to_colours = name_to_traffic_light, height = NULL, ...,
method = 1, weight_by = c("n_files", "size", "none")[1],
sizes = NULL)
|
paths |
character vector of paths |
max_depth |
maximum depth of paths to be shown |
nodePadding |
passed to |
nodeHeight |
height of a node in pixels. Used to calculate the total plot height. |
sinksRight |
passed to |
remove_common_root |
remove the common root parts? (default: TRUE) |
names_to_colours |
if not |
height |
plot height in pixels, passed to
|
... |
further arguments passed to
|
method |
if |
weight_by |
one of |
sizes |
file sizes corresponding to the |
object representing an HTML page
1 2 3 4 5 | # Get the paths to all folders on the desktop
paths <- dir(system.file(package = "fakin.path.app"), recursive = TRUE)
# Plot the folder network
plot_path_network(paths)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.