Standard plots for a dlc object
plot method for class "dlc".
Three plots (selectable by which) are currently available: a plot of the estimated density,
the estimated log-density, or the distribution function corresponding to the estimated log-concave density.
By default, a plot of the density estimate is provided. If smoothed = TRUE, the smoothed version of
the log-concave density estimate (saved in x) is added to the density and log-density plot.
For the CDF, the smoothed version is not contained by default in a dlc object and needs to be computed
when asked to be plotted.
## S3 method for class 'dlc'
plot(x, which = c("density", "log-density", "CDF"),
add.title = TRUE, legend.pos = "topright", ...)x |
An object of class |
which |
One of |
add.title |
Logical, if |
legend.pos |
Placement of the legend. One of |
... |
Further arguments. |
See activeSetLogCon and evaluateLogConDens for details on the computations.
Chosen plot is generated.
Kaspar Rufibach, kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
Duembgen, L, Huesler, A. and Rufibach, K. (2010). Active set and EM algorithms for log-concave densities based on complete and censored data. Technical report 61, IMSV, Univ. of Bern, available at http://arxiv.org/abs/0707.4643.
Duembgen, L. and Rufibach, K. (2009). Maximum likelihood estimation of a log–concave density and its distribution function: basic properties and uniform consistency. Bernoulli, 15(1), 40–68.
Duembgen, L. and Rufibach, K. (2011) logcondens: Computations Related to Univariate Log-Concave Density Estimation. Journal of Statistical Software, 39(6), 1–28. http://www.jstatsoft.org/v39/i06
## See help file of function "logConDens".
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.