Learn R Programming

spatsurv (version 2.0)

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, ...)

Value

the x and y values used in the plot

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