Rdocumentation
powered by
Learn R Programming
spatsurv (version 0.9-11)
CSplot: CSplot function
Description
A function to produce a diagnostic plot for model fit using the Cox-Snell residuals.
Usage
CSplot(mod, plot = TRUE, bw = FALSE, ...)
Arguments
mod
an object produced by the function survspat
plot
whether to plot the result, default is TRUE
bw
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
Value
the x and y values used in the plot