BNPdensity (version 2019.9.11)

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)

Arguments

fit

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

Value

Plot of the empirical and fitted CDF for non censored data.

Examples

Run this code
# NOT RUN {
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