chart.Boxplot(R, names = TRUE, as.Tufte = FALSE, sort.by = c(NULL, "mean", "median", "variance"), colorset = "black", symbol.color = "red", mean.symbol = 1, median.symbol = "|", outlier.symbol = 1, show.data = NULL, add.mean = TRUE, sort.ascending = FALSE, xlab = "Return", main = "Return Distribution Comparison", element.color = "darkgray", ...)mean.symbol,median.symbol,outlier.symbol in the color
specifiedsort.byplotplotas.Tufte=TRUE, will strip chartjunk and draw a
Boxplot per recommendations by Edward Tufte. It can also be useful when
comparing several series to sort them in order of ascending or descending
"mean", "median", "variance" by use of sort.by and
sort.ascending=TRUE.
boxplot
data(edhec)
chart.Boxplot(edhec)
chart.Boxplot(edhec,as.Tufte=TRUE)
Run the code above in your browser using DataLab