MxMatrix object
Posted on
carey
Joined: 10/19/2009
Forums
(1) documentation for "mxMatrix" says "This functions [sic] creates a new MxMatrix object."
(2) documentation for "MxMatrix" says that it "is an S4 class."
(2) documentation for "MxMatrix" says that it "is an S4 class."
consider:
> unit5 <- mxMatrix(name='unit5', type='Lower', nrow=2, free=FALSE, values=1)
> class(unit5)
[1] "LowerMatrix"
attr(,"package")
[1] "OpenMx"
problem comes in when someone is looking for MxMatrix objects in, say, the workspace:
> objs <- ls(envir=.GlobalEnv)
> objs[which(sapply(objs, function(x) class(get(x))) == "MxMatrix")]
character(0)
greg
The different MxMatrix
Log in or register to post comments