Re: [R] Problem with shortestPath in igraph and qgraph

2017-06-21 Thread Zahra Tofighi
I hope this new post be according to your tips. My database is big so i upload it in Dropbox and here is the link to download it: https://www.dropbox.com/pri/get/cognitiveEdges.csv?_subject_uid=680429290=AADQFwqcK-l66BiR4hcJayEc8dFbn0YNHdzeJ7ErqiKr1g and here is code to run in R studio (3.4.0) :

Re: [R] Problem with shortestPath in igraph and qgraph

2017-06-20 Thread Jeff Newmiller
Hard to follow data analysis without data. Try making your example reproducible [1][2][3] and post in plain text (a setting in your emailer). Read the Posting Guide mentioned in the footer to avoid other posting pitfalls. [1]

[R] Problem with shortestPath in igraph and qgraph

2017-06-20 Thread Zahra Tofighi
hello, I have a graph and i use qgraph package to calculate centrality parameters. Now I want to know the maximum value of shortest path for each vertex with discarding the Inf value in short pathes. For this I use the ShortestPathLengths of centrality function in qgraph. but when I want to get