Learn R Programming

PerformanceAnalytics (version 0.9.5)

chart.Boxplot: box whiskers plot wrapper, with sensible defaults

Description

A wrapper to create box and whiskers plot, but with some sensible defaults useful for comparing distributions.

Usage

chart.Boxplot(R, horizontal = TRUE, ...)

Arguments

R
a vector, matrix, data frame, timeSeries or zoo object of asset returns
horizontal
TRUE/FALSE plot horizontal (TRUE) or vertical (FALSE)
...
any other passthru parameters

Value

  • Creates a box plot of returns with some defaults.

See Also

boxplot

Examples

Run this code
data(edhec)
chart.Boxplot(edhec)

Run the code above in your browser using DataLab