Hi Everyone,

I am new to R.

I am validating a weibull survival model. I need to change the number of bins to 10 in plotting the graph. I am not sure which parameter in the below code I should change.

cal_model <- calibrate(model, u=5, cmethod='KM', m=50, B=20))

calibration_plot <- plot(cal_model)

Can anybody shed some lights?

If my codes are completely irrelevant can anybody provide the codes?

I am sorry I could not provide the sample data values and I am not sure which category my request for help belongs to and I chose general.

Best and thank you very much in advance.