The (weighted) cdf of infection times is plotted. The infection times jumps of the cdf are shown by the points with the same infection times stacked vertically and respecting the weights.
plotIT(infection.time, weights, cutpoint)
Arguments
infection.time: vector of infection.times of the observations
weights: vector of (survey) weights of the observations
cutpoint: a cutpoint to for declaring outliers
Details
The infection times of EAdet are the main input. In addition the weights may be needed. The default cutpoint from EAdet may be used for the cutpoint. Points that are never infected have a missing infection time. These missing infection times are (temporarily) imputed by 1.2 times the maximum infection time to show them on the plot marked with an x.
Examples
it <- c(rep(NA,3), rep(1:7, times=c(1,4,10,8,5,3,2)))wt <- rep(c(1,2,5), times=12)plotIT(it, wt,6)