snowfall no longer a dependency
- Read more about snowfall no longer a dependency
- 3 comments
- Log in or register to post comments
So any clues (such as the name of the algebra causing an error, and or the sizes of the two matrices that were being cbind()ed ) would be gratefully received:
# generated by the rev 871 version of trunk/models/failing/NTF_design.R
fit <- mxRun(model)
# Error in mxRun(model) :
# Non-conformable matrices in horizontal concatenation.
traceback()
Error: mxPath() call will generate 2 paths but you have specified 3 values
Would be very helpful if the error could include the mxPath as coded to help find the bad path, for instance in a list of possible bad paths like this:
Error: mxPath() call will generate 2 paths but you have specified 3 values: mxPath(from= c("x","y"), arrows=2, free=TRUE, values=c(1, 1), labels=c("Varx","Vary"))
defModel<-mxModel("Def model", type="RAM", mxData(myData, type="raw"), manifestVars=c("x","y"), latentVars="DefDummy",
------------ End of Such-and-such Example -------------
is desired
"Error in mxConstraint(): All three parameters need to be in quotes - parameter 1 (VP1) was not"
# Constrain A to be equal to B
constraint <- mxConstraint('A', '=', 'B', name = 'constraint')
# Constrain a matrix of free parameters 'K' to be greater than Fixed matrix 'Z'
K <- mxMatrix(type="Full", nrow=2, ncol=2, free=TRUE, name="K")
mxRun(model) Running common_path_constraint_ACE Error in mxRun(model) : Non-conformable matrices in Matrix Subtract.
The actual problem is that I was equating a 2*2 Identity to a 1*1 Full, so the error is misleading...
Would be nice if the error contained the matrix names (i.e., L and nFac_IMatrix) and mxConstraint rather than subtraction
Here's a fragment to show the usage...
share = mxModel("all",