path style ACE model
Posted on
tbates
Joined: 07/31/2009
Forums
hi,
just working on the 'univACEP.R' script in /failing
just working on the 'univACEP.R' script in /failing
It gives this error.. which is obscure to me
> twinACEFit <- mxRun(twinACEModel)
Running twinACE
Error in mxRun(twinACEModel) :
REAL() can only be applied to a 'numeric', not a 'character'
ok, so that error is from a
if a supermodel doesn't recognise paths, but its submodels do, is there a way to inject new paths into the submodels? Tried this without sucess:
twinAEModel <- mxModel(twinACEModel, name="twinAE",
+ mxPath(from=c("MZ.C1"), to="MZ.bmi1", arrows=1, free=FALSE, values=0, label="c"),
+ mxPath(from=c("DZ.C1"), to="DZ.bmi1", arrows=1, free=FALSE, values=0, label="c")
+ )
Error: The model type of model 'twinACE' does not recognize paths.
+
Log in or register to post comments
In reply to ok, so that error is from a by tbates
Interesting problem. I agree
Log in or register to post comments
In reply to Interesting problem. I agree by sboker
Use the following function.
Log in or register to post comments
In reply to ok, so that error is from a by tbates
No, C1 is a latent variable
Log in or register to post comments
"REAL() can only be applied
Log in or register to post comments
In reply to "REAL() can only be applied by mspiegel
checked in a model that
failing/REAL_only_applied_to.R
# reading in data with an un-handled missing character '.'
data("twin_NA_dot", package="OpenMx")
Log in or register to post comments
In reply to checked in a model that by tbates
Thanks that was useful. Now
Log in or register to post comments