Questions tagged [likert]
141 questions
0
votes
1 answer
Nice but plain text table for likert scale data in R
I have likert scale data. I want to display them in an easy (for none-R-users) reading way. Important is that it need to be plain text on the console. No graphics or things like the likert package offers. It not have to be a table() but it should…

buhtz
- 10,774
- 18
- 76
- 149
0
votes
1 answer
How do I remove the X from the likert categories in HH?
I have some likert data, where the scales are from 1 to 5. When I read the CSV file, R puts an X in front of the numbers, which is fine.
When I do likert(df), the graph generated has the categories with the X and I can't figure out a way to remove…

Nathaniel Saxe
- 1,527
- 2
- 15
- 25
0
votes
2 answers
How to fix color for the Likert data in R package HH?
I would like to assign colors according to my choice;
data
resp <- data.frame(replicate(50, sample(1:7, 100, replace=TRUE)))
resp <- data.frame(lapply(resp, factor, ordered=TRUE,
levels=1:7,
labels=c("Missing","Not…

statuser
- 49
- 1
- 2
- 8
0
votes
1 answer
R: "Error in dimnames(x)[[2]] <- levels : length of 'dimnames' [2] not equal to array" when trying to produce likert skale graphics
I have a probably very basic question about data.frame structures in R. I have the following data from a *.dta file put into a data.frame with read.dta (library(foreign)).
dput(head(barriers))
structure(list(risk = structure(c(1L, 1L, 1L, 1L, 1L,…

mor3dr3ad
- 33
- 2
- 9
-1
votes
1 answer
Likert Scale Bar chart
df
A tibble: 5 x 3
A B C
1 Agree Agree Disagree
2 Neutral Disagree Agree
3 Agree Neutral Neutral
4 Disagree Agree Agree
5 Agree Neutral Agree
enter image description here
I want to create a bar chart like this in R.…

Rakin Zaman
- 3
- 1
-1
votes
1 answer
gather() and unite() in tidyr
I am running into a bit of a wall using the gather() and unite() functions from tidyr.
This example is the intended output
# sample Data
> wide_df
col A B C
1 X 1 2 3
2 Y 4 5 6
> gather(wide_df, my_key, my_val, -col)
col…

Luis
- 97
- 2
- 2
- 10