code_graph | R Documentation |
Plot the dependencies among functions and objects for a given script.
code_graph(script, pdf_file)
script |
Script object from CodeDepends or a file path to a script. |
pdf_file |
Path to output PDF of the code graph. |
A network plot.
Matthew K. Lau
## Not run: script <- system.file("example", "simple_script.R", package = "Rclean") simple.script <- readScript(script) code_graph(simple.script) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.