Description Usage Arguments Details Value Examples
plotDist
Plots a distribution plot of the result of recDist.
1 2 |
data |
result of recDist |
xlabel |
x label title of graph (defaults to "x label") |
ylabel |
y label title of graph (defaults to "y label") |
title |
title of graph (defaults to "Title") |
color |
color of points (defaults to "darkblue") |
This function is a visualization tools for the result of recDist. It allows the user to see how often subproblems are called.
the result of x multiplied by y
1 2 3 | capture.output(recursiveCalls(fib,10), file = "output.txt")
fibResult <- saveCalls("output.txt")
plotDist(recDist(fibResult))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.