A function to produce a diagnostic plot for model fit using the Cox-Snell residuals.
CSplot(mod, plot = TRUE, bw = FALSE, ...)
the x and y values used in the plot
an object produced by the function survspat
whether to plot the result, default is TRUE
Logical. Plot in black/white/greyscale? Default is to produce a colour plot. Useful for producing plots for journals that do not accept colour plots.
other arguments to pass to plot