plotfit_noncensored: Plot the density estimate and the 95% credible interval for...

View source: R/plotfit.R

plotfit_noncensoredR Documentation

Plot the density estimate and the 95% credible interval for noncensored data

Description

The density estimate is the mean posterior density computed on the data points.

Usage

plotfit_noncensored(fit)

Arguments

fit

A fitted object of class NRMI1 or NRMI2

Value

A graph with the density estimate, the 95% credible interval and a histogram of the data

Examples


data(acidity)
out <- MixNRMI1(acidity, Nit = 50)
plot(out)

konkam/BNPdensity documentation built on March 14, 2024, 7:15 a.m.