mirror of
https://github.com/kidwellj/re_connect_survey.git
synced 2025-01-08 22:22:21 +00:00
added RColourBrewer to first pie chart as an example, fixed var names
This commit is contained in:
parent
758d601504
commit
ab9f95b20f
|
@ -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,8 +105,9 @@ 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
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
pie(Q3_freq)
|
||||
|
|
Loading…
Reference in a new issue