MxAlgebraFunction {OpenMx} | R Documentation |
There are two ways to implement algebra functions. One way is to implement the function only in C and use omxCallAlgebra. The other way is to implement the same function in both R and C. The advantage of having an R implementation is that users can easily see it by typing the function name.
tr(x)
Some OpenMx algebra functions are available in vanilla R and some are not. If there is already an existing R function then the C implementation for OpenMx must match the R version with respect to arguments and output.