residualsAcat | R Documentation |
This is a function to deal with the vglm object in S4.
residualsAcat(
object,
type = c("surrogate", "sign", "general", "deviance"),
jitter = c("latent", "uniform"),
jitter.uniform.scale = c("probability", "response"),
nsim = 1L,
...
)
object |
An object of class |
type |
The type of residuals which should be returned. The alternatives are: "surrogate" (default), "sign", "general", and "deviance". Can be abbreviated.
|
jitter |
A character string specifying which method to use to generate the
surrogate response values. Current options are
|
jitter.uniform.scale |
A character string specifying the scale on which to perform
the jittering whenever |
nsim |
An integer specifying the number of replicates to use.
Default is |
... |
Additional optional arguments. |
A "resid" object with attributes. It contains a vector or a matrix (nsim>1) of residuals for the adjacent categories model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.