Description Usage Arguments Details Value Examples
plotDensity
Plots a density plot of the recursive calls
1 2 | plotDensity(data, title = "Title", color = "cornflowerblue",
border = "red")
|
data |
output from recDist |
title |
title of graph (defaults to "Title") |
color |
color of area of density plot (defaults to "cornflowerblue") |
border |
color of outline of density plot (defaults to "red") |
This function takes output from recDist and plots a density plot of all recursive calls
density plot of data
1 2 3 | capture.output(recursiveCalls(fib,10), file = "output.txt")
fibResult <- saveCalls("output.txt")
plotDensity(recDist(fibResult))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.