| plot_cdf | R Documentation |
Plots the fitted population CDF (pslt()) against the empirical CDF
of the observed data.
plot_cdf(fit)
fit |
A converged |
Assumes every survivor was transferred at tau1 (the classical
simple-step-stress design, prop_transfer = 1 in rslt()) – see the
note in slt_gof_ks() for why: the pooled Y/Z sample only has
pslt() as its correct marginal CDF in that case. This applies to all
four diagnostic plots in this file.
A ggplot object.
set.seed(1)
d <- rslt(150, "weibull", c(0.05, 1.5), c(0.2, 1.5), tau1 = 5, prop_transfer = 1)
fit <- fit_slt(d, "weibull", "shape1", tau1 = 5)
plot_cdf(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.