-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qgraph::flow produces weird edges for an mgm network #13
Comments
Here's the covariance matrix: and here's what I did with mgm:
|
Same issue happens to me. I am thinking whether it is because the edge color specific in the mgm model does not inherit to the flow function. Any idea? |
Hi both, Sorry for the late response. How do I read that cov matrix Matti? And do you possibly have an easier to reproduce example? It is possible indeed that this is due to the edge colors not being supplied. Perhaps try to store the results of Best, Sacha |
Apologies for being a bit novice with this. I now tinkered a bit with what little I could simulate, and found a hopefully more reproducible way to come about those grey edges. If you use 5000 instead of 200 in
|
Right, I see. Thanks! This may not be trivial for now, I need to open up the function and add that the edge colors are also retained properly. Will put it on the todo list! |
This is now fixed in the devel version (sorry for the delay). |
Ok, so I have this mgm-estimated network:
When I plot it with flow instead, I get this:
qgraph::flow(BCT_mgm, "PA accelerometer", theme = "colorblind", vsize = 8)
For another variable, this:
qgraph::flow(BCT_mgm, "PA selfrep", theme = "colorblind", vsize = 8)
Any thoughts?
The text was updated successfully, but these errors were encountered: