BNPdensity (version 2019.9.11)

plotPDF_censored: Plot the density for censored data.

Description

Plot the density for censored data.

Usage

plotPDF_censored(fit)

Arguments

fit

The result of the fit, obtained through the function MixNRMI1cens or MixNRMI2cens.

Value

Plot of the density and a histogram for non censored data.

Examples

Run this code
# NOT RUN {
set.seed(150520)
data(salinity)
out <- MixNRMI1cens(xleft = salinity$left, xright = salinity$right, extras = TRUE, Nit = 100)
BNPdensity:::plotPDF_censored(out)
# }

Run the code above in your browser using DataLab