You are here

way to see (a list of) the paths that mxPath creates

1 post / 0 new
tbates's picture
Offline
Joined: 07/31/2009 - 14:25
way to see (a list of) the paths that mxPath creates

currently, if you run mxPAth you get something like this

> mxPath(from=latents, arrows = 2, free = T, all = T)
mxPath 
@from:  'F1', 'F1', 'F1', 'F1', 'F1', 'F1', 'F2', 'F2', 'F2', 'F2', 'F2', 'F2', 'F3', 'F3', 'F3', 'F3', 'F3', 'F3', 'F4', 'F4', 'F4', 'F4', 'F4', 'F4', 'F5', 'F5', 'F5', 'F5', 'F5', 'F5', 'F6', 'F6', 'F6', 'F6', 'F6', and 'F6' 
@to:  'F1', 'F2', 'F3', 'F4', 'F5', and 'F6' 
@arrows:  2 
@values:  0 
@free:  TRUE 
@labels:  NA 
@lbound:  NA 
@ubound:  NA 
@excludeself:  FALSE 

It would be nice to have an omx helper that would report the paths as simple list (like expanding a formula in algebra)

from: 'F1' to: 'F1'
from: 'F1' to: 'F2'
from: 'F1' to: 'F3'
...
from: 'F6' to: 'F6'