plotCDF_censored {BNPdensity}R Documentation

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


set.seed(150520)
data(salinity)
out <- MixNRMI1cens(salinity$left, salinity$right, extras = TRUE, Nit = 100)
BNPdensity:::plotCDF_censored(out)

[Package BNPdensity version 2023.3.8 Index]