robust (version 0.4-18.2)

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

Run this code
# NOT RUN {
  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")
# }

Run the code above in your browser using DataCamp Workspace