hi
open trunk/demo/DefinitionMeans_MatrixRaw.R
open trunk/demo/DefinitionMeans_MatrixRaw.R
is broken
error = Running Definition Means -- Matrix Specification
Error: The thresholds matrix/algebra 'x' for model 'Definition Means -- Matrix Specification' does not exist.
be nice if that error was more helpful too: I can't figure it out: There are no thresholds, there is no algebra called "x", x is not used in any algebra, it's the name of a data column
#1
> source("DefinitionMeans_MatrixRaw.R")
Running Definition Means -- Matrix Specification
ObsCovs and Sigma are equal to within 0.01.
ObsMeansGroup1 and as.vector(M + beta) are equal to within 0.001.
ObsMeansGroup2 and as.vector(Mu) are equal to within 0.001.
Some symbol or version conflict?
Log in or register to post comments
#2
and did
rm(list = ls())
detach("package:OpenMx")
library(OpenMx)
and still get the same error. how odd.
Running Definition Means -- Matrix Specification
Error: The thresholds matrix/algebra 'x' for model 'Definition Means -- Matrix Specification' does not exist.
Log in or register to post comments
#3
I've got a feeling that releasing the OpenMx library and reloading leaves the old version loaded and a bit unstable. Still can't understand the nature of the error.
Safest to just quit and reload in between svn updates, i guess
Log in or register to post comments
#4
model <- mxModel("Cov",
mxMatrix(type="Symm", nrow=2, ncol=2, free=TRUE, values=c(1, 0, 1), name = "Sigma"),
mxMatrix(type="Full", nrow=1, ncol=2, free=TRUE, name = "means"),
mxMatrix(type="Full", nrow=1, ncol=2, free=TRUE, values=c(0, 0), name = "beta"),
mxMatrix(type="Full", nrow=1, ncol=2, free=FALSE, labels=c("data.no_such_thing"), name = "def"),
mxAlgebra(expression=means+(beta*def), name = "Mu"),
mxFIMLObjective(covariance="Sigma", means="Mu", dimnames=selCovs),
mxData(observed=rawData, type="raw")
)
Log in or register to post comments
#5
Log in or register to post comments
#6
Log in or register to post comments
#7
Log in or register to post comments
#8
Log in or register to post comments