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", ...)"dlc", usually a result of a call to logConDens."density", "log-density", or "CDF".TRUE adds a standard title to the plot."bottomright", "bottom", "bottomleft", "left",
"topleft", "top", "topright", "right", "center"; or activeSetLogCon and evaluateLogConDens for details on the computations.## See help file of function "logConDens".Run the code above in your browser using DataLab