Make $ <- method for symmetric matrix enforce symmetry (other set cases too)
Currently, $<- on a Symm matrix allows asymetric assignment. That's bad.
- Read more about Make $
- 1 comment
- Log in or register to post comments
library(OpenMx)
data(demoOneFactor)
# ===============================
# = Make and run a 1-factor CFA =
# ===============================
latents = c("G") # the latent factor
manifests = names(demoOneFactor) # manifest variables to be modeled
# ====================
# = Make the MxModel =
# ====================
m1 <- mxModel("One Factor", type = "RAM",
manifestVars = manifests, latentVars = latents,
mxPath(from = latents, to = manifests),
mxPath(from = manifests, arrows = 2),
http://openmx.psyc.virginia.edu/thread/4079#comment-6338