Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

OverlaidDenPlot.fdfm

Overlaid Density Plot


Description

Plot the estimated densities over a histogram of the data.

Usage

overlaidDenPlot.fdfm(x, trunc = 1.0 - 1e-3, ...)

Arguments

x

an fdfm object.

trunc

if non NULL, the maximum x-value of the plot is the largest truncate quantile among the estimated distributions.

...

additional arguments are passed to the plotting functions.

Value

x is invisibly returned.

Examples

data(los, package="robustbase")
  los.fm <- fit.models(c(Robust = "fitdstnRob", MLE = "fitdstn"),
                         x = los, densfun = "gamma")
  overlaidDenPlot.fdfm(los.fm, xlab = "x-axis label", ylab = "y-axis label",
                       main = "Plot Title")

robust

Port of the S+ "Robust Library"

v0.5-0.0
GPL-2
Authors
Jiahui Wang, Ruben Zamar <ruben@stat.ubc.ca>, Alfio Marazzi <Alfio.Marazzi@inst.hospvd.ch>, Victor Yohai <vyohai@dm.uba.ar>, Matias Salibian-Barrera <matias@stat.ubc.ca>, Ricardo Maronna <maron@mate.unlp.edu.ar>, Eric Zivot <ezivot@u.washington.edu>, David Rocke <dmrocke@ucdavis.edu>, Doug Martin, Martin Maechler <maechler@stat.math.ethz.ch>, Kjell Konis <kjell.konis@me.com>.
Initial release
2020-03-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.