Skip to content

Commit

Permalink
adding more figures to save
Browse files Browse the repository at this point in the history
  • Loading branch information
drchriscole committed Dec 15, 2020
1 parent 15cc89c commit 8e51428
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions DRD_in_Scotland_Visualisations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ ggplot(dat, aes(x=Year, y=median)) +
theme(panel.grid.major.x = element_blank(),
panel.grid.minor.x = element_blank(),
legend.title = element_blank())
ggsave('DRD_median_age.png')
```


Expand Down Expand Up @@ -419,10 +421,10 @@ ggplot(dat.m, aes(x=Year, y=value, group=Age, colour=Age)) +
panel.grid.minor.x = element_blank())
ggsave('DRD_age_rates.png')
```

## Table HB1
## Regional Changes - Table HB1

```{r tHB1}
# read data
Expand Down Expand Up @@ -451,6 +453,8 @@ ggplot(dat, aes(x=Region, y=`2009`)) +
xlab('') +
coord_flip() +
theme_minimal()
ggsave('DRD_region_change.png')
```

```{r tHBb}
Expand Down Expand Up @@ -498,7 +502,7 @@ ggplot(change.dat, aes(x=fct_reorder(Region, PcChange), y=PcChange, fill="#D55E0
```

## Regional Comparisons
## Council Comparisons

```{r tC1a, fig.height = 6}
Expand Down

0 comments on commit 8e51428

Please sign in to comment.