BNPdensity (version 2023.3.8)

plotCDF_censored: Plot the Turnbull CDF and fitted CDF for censored data.

Description

Plot the Turnbull CDF and fitted CDF for censored data.

Usage

plotCDF_censored(fit)

Value

Plot of the empirical and fitted CDF 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(salinity$left, salinity$right, extras = TRUE, Nit = 100)
BNPdensity:::plotCDF_censored(out)

Run the code above in your browser using DataLab