#SCCS 04/14/92 @(#)residuals.coxph.null.s 4.2 residuals.coxph.null <- function(object, type=c("martingale", "deviance", "score", "schoenfeld"), collapse=FALSE, weighted=FALSE, ...) { type <- match.arg(type) if (type=='martingale' || type=='deviance') NextMethod() else stop(paste("\'", type, "\' residuals are not defined for a null model", sep="")) }