resid-methods {cold} | R Documentation |
residd
Methods for function resid
extracting residual values of a fitted model object from class cold
.
## S4 method for signature 'cold'
resid(object, type = c( "pearson","response","null"),...)
object |
an object of class |
type |
an optional character string specifying the type of residuals to be used. Two types are allowed: pearson and response. Defaults to "pearson". |
... |
other arguments. |
signature(object="cold")
:residuals for cold
object.
##### data = seizure
seiz1M <- cold(y ~ lage + lbase + v4 + trt + trt:lbase, data = seizure,
start = NULL, dependence = "AR1")
resid(seiz1M)[1:16]