plotDensity: Density Plot of Recusive calls

Description Usage Arguments Details Value Examples

View source: R/plotDensity.R

Description

plotDensity Plots a density plot of the recursive calls

Usage

1
2
plotDensity(data, title = "Title", color = "cornflowerblue",
  border = "red")

Arguments

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")

Details

This function takes output from recDist and plots a density plot of all recursive calls

Value

density plot of data

Examples

1
2
3
capture.output(recursiveCalls(fib,10), file = "output.txt")
fibResult <- saveCalls("output.txt")
plotDensity(recDist(fibResult))

cfrusso/ARR documentation built on May 28, 2019, 11:04 p.m.