Learn R Programming

BNPdensity (version 2023.3.8)

plotPDF_censored: Plot the density for censored data.

Description

Plot the density for censored data.

Usage

plotPDF_censored(fit)

Value

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

Arguments

fit

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

Examples

Run this code

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