Plot cnormBetaBinomial Model with Data and Percentile Lines
Plot cnormBetaBinomial Model with Data and Percentile Lines
This function creates a visualization of a fitted cnormBetaBinomial model, including the original data points manifest percentiles and specified percentile lines.
## S3 method for class 'cnormBetaBinomial2'plot(x,...)
Arguments
x: A fitted model object of class "cnormBetaBinomial" or "cnormBetaBinomial2".
...: Additional arguments passed to the plot method.
age A vector the age data.
A vector of the score data.
weights An optional numeric vector of weights for each observation.
percentiles An optional vector with the percentiles to plot.
points Logical indicating whether to plot the data points. Default is TRUE.