R: Overlaid Density Plot

overlaidDenPlot.fdfm {robust} | R Documentation

## 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")

[Package robust version 0.5-0.0 Index]