This function provides methodology for plotting the prediction intervals or limits that are calculated using the functionality of the predint package.
## S3 method for class 'predint'plot(x,..., size =4, width =0.05, alpha =0.5)
Arguments
x: object of class predint
...: arguments handed over to ggplot2::aes()
size: size of the dots
width: margin of jittering
alpha: opacity of dot colors
Returns
Since plot.predint() is based on ggplot2::ggplot, it returns an object of class c("gg", "ggplot").
Examples
### PI for quasi-Poisson datapred_int <- quasi_pois_pi(histdat=ames_HCD, newoffset=3, nboot=100, traceplot =FALSE)### Plot the PIplot(pred_int)### Since plot.predint is based on ggplot, the grafic can be altered using# the methodology provided via ggplot2plot(pred_int)+ theme_classic()