residuals-methods {rstpm2} | R Documentation |
Residual values for an stpm2 or pstpm2 fit
Description
Given an stpm2
or pstpm2
fit, return residuals
Usage
## S4 method for signature 'stpm2'
residuals(object, type=c("li","gradli"))
## S4 method for signature 'pstpm2'
residuals(object, type=c("li","gradli"))
Arguments
object |
an |
type |
specify the type of residuals:
|
Details
The gradients are analytical.
Value
A vector or matrix.
Methods
- object= "stpm2"
an
stpm2
fit
See Also
[Package rstpm2 version 1.6.3 Index]