-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Transform dagitty DAG to formatted string for ggdag #90
Comments
Can you tell me more about your motivation for a function like this? I don't think there's anywhere in ggdag that requires you to use
|
I'm going to close this, but if you think it's still worth discussing, feel free to re-open |
I do have a use case for this, actually, which is to update a data frame, then sync the dagitty object to match. I'm going to use a modified version of your code for that |
I usually start creating my DAGs with the web version of
dagitty
, altough I appreciate the R-like style offered byggdag
. I looked for a function to transform adagitty
object to a formatted string to use withinggdag
. I did not find anything so I wrote the following function:This basically returns a formatted string in the required R-like style for
ggdag
. Would something like this be useful?The text was updated successfully, but these errors were encountered: