You are here

mxAlgebra input

2 posts / 0 new
Last post
Benny's picture
Offline
Joined: 05/15/2020 - 05:00
mxAlgebra input

Hello,

for a SEM model I have calculated the expected covariance matrix using the symbolic linear algebra functionalities of the Ryacas package. To use the expected covariance matrix to calculate some second order statistics, I'm wondering whether the mxAlgebra function accepts some sort of R objects/expressions? Or does it only accept the "raw" names of the mxMatrix objects? I'm grateful for any hint on the topic.
Thanks!

jpritikin's picture
Offline
Joined: 05/24/2012 - 00:35
on mxAlgebra

mxAlgebra accepts some R objects/expressions. Here are some examples,

https://raw.githubusercontent.com/OpenMx/OpenMx/master/tests/testthat/test-AlgebraComputePassing.R