residuals-methods | R Documentation |
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
stpm2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.