If you wish to connect variables each to the other, "all" is currently too powerful, as it also connects each variable to itself
To facilitate scripting (especially the common task of adding drawing covariances between latent variables), it would be nice to have an option to exclude self from all. Given the released function, perhaps the best option would be to add a parameter:
includeSelf = F
Or have I missed an easy trick?
example of current function:
> mxPath(from=latents, arrows=2, free=T, values=1, all=T)
mxPath
@from: 'vis', 'vis', 'vis', 'math', 'math', 'math', 'text', 'text', and 'text'
@to: 'vis', 'math', and 'text'
@arrows: 2
@values: 1
@free: TRUE
@labels: NA
@lbound: NA
@ubound: NA
#1
Log in or register to post comments
#2
Log in or register to post comments
#3
Log in or register to post comments
#4
Log in or register to post comments