Learn R Programming

fBasics (version 240.10068.1)

TailoredReturnPlots: Tailored Return Plots

Description

A collection and description of functions which allow to create easily financial return plots. The tailored plot functions are: ll{ seriesPlot Returns a tailored time series plot, histPlot Returns a tailored histogram plot, densityPlot Returns a tailored kernel density estimate plot, quantilePlot Returns a tailored quantile-quantile plot.}

Usage

seriesPlot(x, col = "steelblue", main = x@units, ...) 
histPlot(x, col = "steelblue", main = x@units, add.fit = TRUE, ...) 
densityPlot(x, col = "steelblue", main = x@units, add.fit = TRUE, ...)
quantilePlot(x, col = "steelblue", main = x@units, labels = TRUE, ...)

Arguments

add.fit
[*Plot] - a logical, should a fit added to the Plot?
col, main
[*Plot] - plot parameters, color and main title.
labels
a logical, should labels be added to the plot?
x
an object of class "timeSeries".
...
optional arguments to be passed.

Value

  • Beside the plot, no other values are returned.

Examples

Run this code
## SOURCE("fBasics.1B-TailoredReturnPlots")

Run the code above in your browser using DataLab