Questions tagged [likert]
141 questions
0
votes
1 answer
R: Convert sav (SPSS) data to a format suitable for HH::likert
I'm trying to convert data from a sav (SPSS) data file to a format suitable for plotting by HH::likert, and I can't get the proper invocation to do this.
To replicate the sav format, create a dataframe giving the results of a likert question on…

donnek
- 221
- 1
- 9
0
votes
1 answer
Remove white side margin in a Likert plot
I am a beginner with R, and I have to analyze the results of a survey including Likert scales. I would like to have multiple stacked histograms to visually compare the answers to multiple Likert questions. After no succeeding with ggplot only, I…

Michael Marx
- 104
- 8
0
votes
1 answer
How do I plot a neutral centered likert plot in R from percentage value survey data?
To practice with R, I am working on visualising Table 2 from this research paper.
I have managed to get the data as a ggplot 100% stacked barplot with the following code:
ggplot(df_long, aes(fill=answer, y=value, x=statement))+
…

user19847081
- 3
- 2
0
votes
1 answer
plot() won't change axis text size using cex.axis
I am trying to plot a likert scale of a 1 - 7 scale for every country with the likert package in R, but the R base plot() function won't change any of the text sizes (or even add a main title).
I am generating the plot with:
p <- likert(summary =…

FLOX DAW
- 1
- 3
0
votes
0 answers
Issues running likert package after it is loaded
I have been trouble shooting this the past two days at work. I'm new to R (took one online class last month) and have been self-teaching myself everything else. Discovered the Likert Scales and I want to learn how to use them for some of my data at…
0
votes
0 answers
ggplot2 geom_col() does not show all items
I'm new to R and I'm trying to plot a small survey where I used a likert-scale.
I'm using
ggplot(Likert, aes(x=Anzahl, y=Frage, fill=Zustimmung)) + geom_col()
to display the data. There are probably better ways to do this and I probably should use…

wiebke-blip
- 23
- 1
- 4
0
votes
0 answers
How to sort likert heatmap (likert package) by descending order one answer
I have problems with the solution posted by useRj on Nov 15, 2017 at 16:59
"Likert package does not allow to do such manipulation. Heatmap is ALWAYS ordered by alphabetically sorted text. So I suggest a workaround by forcing the text to be…
0
votes
0 answers
save output from R as a table
I want to save output from my R markdown in a table format that I can directly add in my publication.
The code does wilcoxson signed rank test on multiple variables at the same time. I want to export the output I get from the modellist into a table…

Mahir Bhatt
- 19
- 4
0
votes
2 answers
Using plot likert to plot likert scale data
I am using a dataset that has likert scale responses. I am attaching sample observations from the dataset below.
I am always get an error, can someone help me with this?
Thanks
att<-structure(list(att1_goodofall = c(3L, 3L, 1L, 3L, 3L, 3L, 3L,
2L,…

Mahir Bhatt
- 19
- 4
0
votes
0 answers
Grouping By Multiple Selection Answer for Likert Package
I wanted to create a likert graph that is grouped by Question i. I can create the likert graph for total responses ungrouped, but im uncertain of how to reformat question 6 without losing the column for question i. (aka do the reformatting done…

Corrin Winter
- 81
- 5
0
votes
1 answer
Combining Reformated Likert Categories
I am currently using the Likert package and it requires my Likert Matrix tables to be in a different format. To do this I used the code:
LikertQ9_1 <- SurveyClean2 |>
dplyr::select(Q9_1) |>
mutate(Question = "Grazing or Forage Production") |>…

Corrin Winter
- 81
- 5
0
votes
1 answer
Error in likert package: Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, : invalid value 0 for 'digits' argument
I haven't used the likert package for a while and I've rerun my likert plot and come up with this error:
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
I've since tried a couple of…

Sylv
- 51
- 6
0
votes
2 answers
How do I create a column of numeric existing data in R?
I have a data frame of 22 columns and 240 rows.
I want to create a new column with Likert Scale numeric values depending the column value.
I want to have a new column named Result with Result == 2 if one of the columns of secretary rows >= 1 else…

Fella
- 21
- 5
0
votes
0 answers
data as factor not as number
I want to use a "Likert" type data set for ML. I changed the data set from strongly disagree, .... to 1 to 5 scale. I want to work on them (for example checking the correlation matrix and feature selection methods.) What should be the data type in R…

Amirreza
- 1
- 2
0
votes
0 answers
R Likert and Grouped unused levels
I'm using the R Likert package to generate graphs, which I've used for years but have never come across this bug.
My Likert summary looks fine (generated using likert::likert(dat, grouping = dat$group) :
Group
Item
Strongly…

g.althor
- 1