This class contains information in its slots about the left-hand side of a factor analysis model.
new("manifest", ...)
.
However, it is not recommended to do so in normal usage since
make_manifest
provides the constructor for users."manifest"
is virtual and has the following slots:
make_manifest
."manifest.basic"
inherits from the "manifest"
class and has five additional slots:
"manifest.data"
inherits from the "manifest.basic"
class and and has four additional slots:
X
indicating the weight of each observation in calculating the
sample covariance matrix.dsyMatrix-class
from the Matrix
package representing an asymptotic estimate of the fourth-order central moments of
the data"manifest.data.ordinal"
inherits from the "manifest.data"
but has no additional slots. It is used when some of the manifest variables are ordered
factors. Likewise for the "manifest.data.ranks"
class which has no additional
slots and is used when Spearman correlations are calculated. An object of class
"manifest.data.mcd"
inherits from the "manifest.data"
class and has one
additional slot, CovMcd
, which is an object of CovMcd-class
that is defined in the rrcov package."manifest"
is in the signature of all the model-fitting generic
functions documented in S4GenericsFAiR
and the same is true for
make_restrictions
However, at the moment those methods are only defined
for the "manifest.basic"
class. The following methods are defined for the
"manifest.basic"
class, but some of them are also defined for inherited classes
if their behavior needs to differ in small ways.
signature(object = "manifest.basic")
signature(object = "manifest.basic")
, which also has
a standardized = TRUE
argument that controls whether the sample
correlation matrix or sample covariance matrix is extractedsignature(object = "manifest.basic")
signature(x = "manifest.basic", y = "ANY")
signature(x = "manifest.basic")
"manifest"
if necessary. Then, appropriate methods for
this class would need to be written. Here is a table of the class hierarchy:
Class | Parent Class |
Comment |
"manifest" |
none | none (virtual class) |
"manifest.basic" |
"manifest" |
Can be used for any model |
"manifest.basic.userW" |
"manifest.basic" |
ADF with user-specified weight matrix |
"manifest.data" |
"manifest.basic" |
Can be used for any model |
"manifest.data.ordinal" |
"manifest.data" |
Used when some variables are ordinal |
"manifest.data.ranks" |
"manifest.data" |
Used when variables are converted to their ranks | Class |
make_manifest
and S4GenericsFAiR
showClass("manifest")
showClass("manifest.basic")
showClass("manifest.data")
showClass("manifest.data.mcd")
man <- make_manifest(covmat = Harman74.cor)
show(man)
plot(man)
str(man)
Run the code above in your browser using DataLab