Attachment | Size |
---|---|
standardizeRAM.R [6] | 3.07 KB |
Here's a beta of a new function to get standardized output from a RAM model. I've only tested it on one or two models, so I'd love some help breaking it. You have to either supply a model that uses mxRAMObjective or you have to supply the names of the A and S matrices.
Edit (11/1/10): Previous version standardized S correctly but A incorrectly. Fixed. Also improved some error messages.
Edit (12/13/10): Previous version correctly standardized model and matrix output, but incorrectly standardized A matrix on 'parameters' output. Fixed. Reminder that when using 'model' output, only the model matrices are affected: the matrices in the 'output' slot are not affected, as that would require changing model optimization information.