argument is missing, with no default
Posted on

Forums
I get the following error messeage from openMX:
Error in mxModel("ACE", mxMatrix(type = "Iden", nrow = 4, ncol = 4, name = "I"), :
argument is missing, with no default
this "ACE" mxModel object contains only mxMatrix and MxAlgebra ellements.
It is one of six submodels in a bigger model this bigger model contains an mx Algebraobjective the other 5 submodels contain data and a mxFIMLObjective each for the different groups.
Which argument am i missing in this ACE mxModel? which are the required model arguments anyway?
This is the "trailing comma"
This is the "trailing comma" problem. At some point, you use a comma right before a right parenthesis. R thinks whatever is after that comma is a new argument, but doesn't know what to do with it. Delete that comma and you're fine. See he wiki on common errors for more information.
Ryne
Log in or register to post comments
In reply to This is the "trailing comma" by Ryne
Ah, i see thanks!
Ah, i see thanks!
Log in or register to post comments