I am trying to plot the calc.ece function and have been successful with just the basic plot function. However, I need to be able to zoom in to show the observed and calibrated lines better. Such as in this example here
LR.same = c(4135, 4135, 4135, 4135, 4135, 4135)
LR.different = c(0.00334, 0.00334, 0.00334, 0.00334, 0.00334)
ece.1 = calc.ece(LR.same, LR.different)
plot(ece.1)
I cannot use the ylim as I get this error Error in xy.coords(x, y, xlabel, ylabel, log) : argument "x" is missing, with no default. I am unsure what to do. Any ideas?