Browse Source

legend work

master
boB Rudis 5 years ago
parent
commit
f2b03b5325
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 9
      README.Rmd
  2. 17
      README.md
  3. BIN
      README_files/figure-gfm/gm-1.png
  4. BIN
      README_files/figure-gfm/unnamed-chunk-1-1.png

9
README.Rmd

@ -112,7 +112,8 @@ gapminder %>%
ggthemes::scale_fill_tableau(name = NULL) +
coord_flip() +
labs(
x = "Year", caption = "Example borrowed from @cmdline_tips"
x = "Year", title = "Life Expectancy", y = NULL,
caption = "Example borrowed from @cmdline_tips"
) +
facet_wrap(~continent, nrow = 4) +
theme_ipsum_rc() -> gmgg
@ -121,9 +122,11 @@ grid.newpage()
gmgg %>%
add_econodist_legend(
econodist_legend_grob(
tenth_col = "#b07aa1", ninetieth_col = "#591a4f"
tenth_col = "#b07aa1",
ninetieth_col = "#591a4f",
),
below = "axis-b-1-4"
below = "axis-b-1-4",
just = "right"
) %>%
grid.draw()
```

17
README.md

@ -136,7 +136,8 @@ gapminder %>%
ggthemes::scale_fill_tableau(name = NULL) +
coord_flip() +
labs(
x = "Year", caption = "Example borrowed from @cmdline_tips"
x = "Year", title = "Life Expectancy", y = NULL,
caption = "Example borrowed from @cmdline_tips"
) +
facet_wrap(~continent, nrow = 4) +
theme_ipsum_rc() -> gmgg
@ -145,9 +146,11 @@ grid.newpage()
gmgg %>%
add_econodist_legend(
econodist_legend_grob(
tenth_col = "#b07aa1", ninetieth_col = "#591a4f"
tenth_col = "#b07aa1",
ninetieth_col = "#591a4f",
),
below = "axis-b-1-4"
below = "axis-b-1-4",
just = "right"
) %>%
grid.draw()
```
@ -156,10 +159,10 @@ gmgg %>%
## ggeconodist Metrics
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | ---: | --: | ---: | ----------: | --: | -------: | ---: |
| R | 10 | 0.91 | 377 | 0.85 | 71 | 0.7 | 125 | 0.75 |
| Rmd | 1 | 0.09 | 68 | 0.15 | 30 | 0.3 | 42 | 0.25 |
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: |
| R | 10 | 0.91 | 398 | 0.85 | 76 | 0.72 | 128 | 0.75 |
| Rmd | 1 | 0.09 | 71 | 0.15 | 30 | 0.28 | 42 | 0.25 |
## Code of Conduct

BIN
README_files/figure-gfm/gm-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 164 KiB

BIN
README_files/figure-gfm/unnamed-chunk-1-1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Loading…
Cancel
Save