Usage
## S3 method for class 'ExploratoryClass':
residuals(object, type = "LD", digits = 3,
df.p = FALSE, full.scores = FALSE, printvalue = NULL, tables = FALSE,
verbose = TRUE, Theta = NULL, ...)
Arguments
object
an object of class ExploratoryClass
, ConfirmatoryClass
or
MultipleGroupClass
. Bifactor models are automatically detected and utilized for
better accuracy
type
type of residuals to be displayed.
Can be either 'LD'
or 'LDG2'
for a local dependence matrix based on the
X2 or G2 statistics (Chen & Thissen, 1997), 'Q3'
for the statistic proposed by
Yen (1984), or 'exp'
digits
number of significant digits to be rounded
df.p
logical; print the degrees of freedom and p-values?
full.scores
logical; compute relevant statistics
for each subject in the original data?
printvalue
a numeric value to be specified when using the res='exp'
option. Only prints patterns that have standardized residuals greater than
abs(printvalue)
. The default (NULL) prints all response patterns
tables
logical; for LD type, return the observed, expected, and standardized residual
tables for each item combination?
verbose
logical; allow information to be printed to the console?
Theta
a matrix of factor scores used for statistics that require empirical estimates (i.e., Q3).
If supplied, arguments typically passed to fscores()
will be ignored and these values will
be used instead
...
additional arguments to be passed to fscores()