Description Usage Arguments Examples
Creates an interaction plot based on the output of GraphLab for a given function
1 2 | PlotGraphLab(GraphLab, func, filterOut = c("base", "utils"),
arrow_curv = -0.2, color = "black", dictionnary = "default")
|
GraphLab |
Output of the GraphLab function for the whole folder |
func |
The function of interest for which the interaction graph should be plotted |
filterOut |
name of packages from which the functions should be ignored. By default: base & utils |
arrow_curv |
Curvature used for arrows showing non recursive calls (default: -0.2) |
color |
Color of the outer box (default: black) |
dictionnary |
A list with names the tags to use, and value the corresponding color. "unknown" is used for all tags that are not recognised and will be in light grey by default. |
1 2 3 4 5 6 7 | G<-GraphLab(system.file("extdata", "", package = "DevGRaph"))
# Same as DevGraphLab in this example:
PlotGraphLab(GraphLab = G, func = "Start")
# Graph for \code{progeny} function only
PlotGraphLab(GraphLab = G,func = "progeny")
# Ignoring ggplot2 imports:
PlotGraphLab(GraphLab = G,func = "Start", filterOut = "ggplot2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.