getDevianceRes {RCM} | R Documentation |
A function to calculate the matrix of deviance residuals.
getDevianceRes(RCM, Dim = RCM$k)
RCM |
an RCM object |
Dim |
The dimensions to use For the deviance residuals we use the overdispersions from the reduced model. Standard dimensions used are only first and second, since these are also plotted |
A matrix with deviance residuals of the same size as the original data matrix