tbates / umx

Making Structural Equation Modeling (SEM) in R quick & powerful
https://tbates.github.io/
44 stars 17 forks source link

`umxSuperModel` looks like a RAM model to plot #159

Closed tbates closed 1 year ago

tbates commented 3 years ago

umxSuperModel looks like a RAM model to plot(m1), so a super model containing, say twin models in two data sets returns an error when plotting: Error in eval(result, envir = env) : object 'S' not found

Be nice to allow plot to detect RAM models which are just containers, and then plot the contents of non-RAM models, as it does now for multi-group RAM.

Originally posted by @tbates in https://github.com/tbates/umx/issues/157#issuecomment-821065849