Stress Plot - Generic Function

DESCRIPTION:

Produce a stress plot for a censorReg object. This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: censorReg.

USAGE:

stressplot(object, ...) 

REQUIRED ARGUMENTS:

object
an object containing a single predictor variable for which a stress plot is required.

OPTIONAL ARGUMENTS:

...
some methods may have additional arguments.

SIDE EFFECTS::

A stress plot, device is produced in the current graphics.

EXAMPLES:

dd <- censorReg(censor(days,event)~voltage, data=capacitor2, weights = weights) 
stressplot(dd)