Dear R-Studio Community,
Although I initially had lots of troubles realizing my likert plot, I now managed to do so. I have created a plot I'm happy with, such as the one attached. I already managed to change the names of "Community1" and "Community2".
Now I would also like to change the Responses 1-6 to "1 = Strongly agree", "2 = Slightly agree", "3=Agree", etc.
Instead of "econ_comm" I would like to have the original question, e.g. "This is the most important economic aspect for my community".
This is the code I want to work with...
#Laden der Daten aus Excel
g<-read.csv2("C:/Users/felix/OneDrive/Documents/R/SurveyData2.csv", sep=";", dec=",", header=TRUE)
#Both-Object erstellen
both<-g$Location
#Convert to factors
g <- within(g, {
econ_comm <- factor(econ_comm, levels=1:6)
future_persp <- factor(future_persp, levels=1:6)
} )
comm_likert = likert(g[,2:3], grouping=g[,1])
plot(comm_likert)
Thank you very much for your help!!
Best, Felix