CSplot: CSplot function

View source: R/postprocessing.R

CSplotR Documentation

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


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.