Running NucTwFam
Error in FUN(X[[2L]], ...) :
Could not find function with name + and 1 arguments
So it would appear from this error I am summing a matrixobject and empty space (hence the could not find a function for one sided summing???) in one of my mxAlgebra functions.
However I have extensively checked my code for a "+" in an maAlgebra function lead by or trailed by a non matrix object or just whitespace. I could not find such a occurence.
I am running OpenMX 1.0.6 in R 2.11
Any sugestions?
Michel
One suggestion is to download the OpenMx pre-release and run your script. We have improved the error messages for algebras for OpenMx 1.1. I would recommend not relying on the pre-release to publish results (yet). We are in the process of testing the pre-releases, and the pre-release r1527 is out-of-date with respect to the source code repository.
Oops. Nevermind, we have not added context information to that error situation yet. Probably better to just attach your script to a forum post.
so i just added the script, i dont think however this will quickly solve the problem. Am i right to suspect the algebra styatements are involved in this error?
Michel
I improved the error message in our source code repository, so now it prints out the name of the algebra in which the error occurs. The error is the expression "CpathM %*% + CpathM" in the algebra CvDOS. Same error occurs in CvSibOS.
thaks a lot! i have been staring at %, *, + and x for so long i just didnt notice anymore.
very helpful mike!
It's an enormous script with a lot of algebra but here goes:
)
dzmModel <- mxModel(name = "DZMNTF",
)
mzfModel <- mxModel(name = "MZFNTF",
)
dzfModel <- mxModel(name = "DZFNTF",
)
dosModel <- mxModel(name = "DOSNTF",
)
Fit <- mxRun(FinalModel)
summary(Fit)