There seems to be a bug in mxModel when remove=T
example code
library(OpenMx)
thisOMxModel <- mxModel("testModel", mxMatrix(name="Afac", type="Full",nrow=8,ncol=5))
testit <- mxModel(thisOMxModel, mxMatrix(name="Afac", type="Full",nrow=8,ncol=5), remove=T)
# Error in as.character.default() :
# no method for coercing this S4 class to a vector
example code
library(OpenMx)
thisOMxModel <- mxModel("testModel", mxMatrix(name="Afac", type="Full",nrow=8,ncol=5))
testit <- mxModel(thisOMxModel, mxMatrix(name="Afac", type="Full",nrow=8,ncol=5), remove=T)
# Error in as.character.default(
# no method for coercing this S4 class to a vector
#1
I've checked in a patch, so as of revision 973 the remove=TRUE will accept any combination of character names and S4 named entities.
Log in or register to post comments
#2
Log in or register to post comments