Skip to content
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

Syntax question in the example code #5

Open
MarkErik opened this issue Jul 24, 2019 · 0 comments
Open

Syntax question in the example code #5

MarkErik opened this issue Jul 24, 2019 · 0 comments

Comments

@MarkErik
Copy link

Thank you for sharing this project!

I am looking at the sample code, and trying to implement it for my own data, and came across a part that seemed odd syntax-wise in the example about life expectancies. Should there be a trailing comma after ninetieth_col = "#591a4f", in the arguments to eonodist_legend_grob in the code below?

I'm still learning R so please excuse me if this is correct syntax.

grid.newpage()
gmgg %>%
add_econodist_legend(
econodist_legend_grob(
tenth_col = "#b07aa1",
ninetieth_col = "#591a4f",
),
below = "axis-b-1-4",
just = "right"
) %>%
grid.draw()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant