plotEndingPrices: Plot Ending Prices

Description Usage Arguments Examples

Description

Plot the kernel density estimate and histogram of the ending prices from a Monte Carlo simulation.

Usage

1
2
plotEndingPrices(mc, ..., main = "Ending Prices", xlab = "Price",
  ylab = "Density")

Arguments

mc

monte carlo object created with monteCarlo.

main

a main title for the plot.

xlab

x-axis label, same as in plot.

ylab

y-axis label, same as in plot.

...

additional arguments passed to hist.

Examples

1
2
3
4
library(GARPFRM)

mc <- monteCarlo(0.05, 0.25, 500, 1, 52, 10)
plotEndingPrices(mc)

GARPFRM documentation built on May 2, 2019, 5:45 p.m.