We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example in dagitty::dagitty works fine if there are no quoted numbers but fails if a dag is copied from dagitty.net.
please change the examples given from:
# Specify a simple DAG containing one path g <- dagitty("dag{ a -> b ; b -> c ; d -> c }")
to
# Specify a simple DAG containing one path g <- dagitty('dag{ a -> b ; b -> c ; d -> c }')
(and the same for the other examples)
This enables text copied from the web version to be pasted in without throwing an Error: unexpected numeric constant in: error:
library(dagitty, ggdag) d<-dagitty('dag { bb="0,0,1,1" cause [exposure,pos="0.218,0.247"] effect [outcome,pos="0.552,0.513"] mediator [pos="0.507,0.202"] cause -> mediator mediator -> effect }')
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The example in dagitty::dagitty works fine if there are no quoted numbers but fails if a dag is copied from dagitty.net.
please change the examples given from:
# Specify a simple DAG containing one path g <- dagitty("dag{ a -> b ; b -> c ; d -> c }")
to
# Specify a simple DAG containing one path g <- dagitty('dag{ a -> b ; b -> c ; d -> c }')
(and the same for the other examples)
This enables text copied from the web version to be pasted in without throwing an Error: unexpected numeric constant in: error:
library(dagitty, ggdag) d<-dagitty('dag { bb="0,0,1,1" cause [exposure,pos="0.218,0.247"] effect [outcome,pos="0.552,0.513"] mediator [pos="0.507,0.202"] cause -> mediator mediator -> effect }')
Thanks.
The text was updated successfully, but these errors were encountered: