Residual values for an stpm2 or pstpm2 fit
Given an stpm2
or pstpm2
fit, return residuals
## S4 method for signature 'stpm2' residuals(object, type=c("li","gradli")) ## S4 method for signature 'pstpm2' residuals(object, type=c("li","gradli"))
object |
an |
type |
specify the type of residuals:
|
The gradients are analytical.
A vector or matrix.
an stpm2
fit
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.