added RColourBrewer to first pie chart as an example, fixed var names

This commit is contained in:
Jeremy Kidwell 2021-10-27 13:22:58 +01:00
parent 758d601504
commit ab9f95b20f

View file

@ -45,9 +45,6 @@ pie(Q25_frequencies, labels = c("Maybe", "No", "Yes"), col = coul3)
```
pie(Q25_frequencies, labels = c("Maybe", "No", "Yes"))
# rough draft of piechart
```{r Q26 bar/pie}
Q26_data <- read.csv("./data/Q26_data.csv")
@ -108,6 +105,7 @@ names(test2)[2] <- "Frequency"
head(test2)
pie(test2$Frequency, labels = c("Worldviews", "Religion", "Theology", "Ethics", "Philosophy"))
# JK note on Q3: consider here whether to use alternative forms of visualiation to reflect the overlaps when respondents picked multiple categories in responses
```