| plot_diagnostics | R Documentation |
Produces 3 diagnostic plots (Histogram with PDF overlay, Dot plot, and ACF plot) to verify sample distributional properties and independence.
plot_diagnostics(data, pdf = NULL, main = "Censoring Diagnostic Plots")
data |
Object of class |
pdf |
Optional probability density function to overlay on histogram. |
main |
Overall plot title. |
No return value, called for side effects (renders diagnostic plots).
dat <- gen_type1_hybrid(
pdf = function(x) dexp(x, rate = 1), cdf = function(x) pexp(x, rate = 1),
lower = 0, upper = 10, n = 20, r = 10, T_star = 1.5, seed = 123
)
plot_diagnostics(dat, pdf = function(x) dexp(x, rate = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.