GOFplots: Plot Goodness of fits graphical checks for censored data

View source: R/GOFplots.R

GOFplotsR Documentation

Plot Goodness of fits graphical checks for censored data

Description

Plot Goodness of fits graphical checks for censored data

Usage

GOFplots(fit, qq_plot = FALSE, thinning_to = 500)

Arguments

fit

The result of the fit, obtained through the function MixNRMI1 or MixNRMI2, MixMRMI1cens or MixMRMI2cens

qq_plot

Whether to compute the QQ-plot

thinning_to

How many iterations to compute the mean posterior quantiles

Value

A density plot, a cumulative density plot with the Turnbull cumulative distribution, a percentile-percentile plot, and potentially a quantile-quantile plot.

Examples


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

BNPdensity documentation built on April 1, 2023, 12:10 a.m.