You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both from the source code of likert.bar.plot and from the image it looks as if for the bars the unwrapped group labels are used, while for the percentage labels the wrapped ones are used. Hence we end up with duplicated groups.
Trying to plot a likert output using the below data:
I created likert item using:
like<-likert(freq[, c(1), drop=FALSE], grouping = freq$Reason)
The output of the likert indicates 7 groups
List of 6
$ results :'data.frame': 7 obs. of 7 variables:
..$ Group : Factor w/ 7 levels "Class times conflict with my schedule",..: 1 2 3 4 5 6 7
..$ Item : Factor w/ 1 level "Likelihood of attending more frequently": 1 1 1 1 1 1 1
..$ Highly unlikely : num [1:7] 0 12.5 3.57 0 0 ...
..$ Somewhat unlikely : num [1:7] 0 12.5 8.33 0 8.33 ...
..$ Neither likely nor unlikely: num [1:7] 11.54 37.5 22.62 0 4.17 ...
..$ Somewhat likely : num [1:7] 76.9 25 51.2 100 70.8 ...
..$ Highly likely : num [1:7] 11.5 12.5 14.3 0 16.7 ...
$ items :'data.frame': 180 obs. of 1 variable:
..$ Likelihood of attending more frequently: Factor w/ 5 levels "Highly unlikely",..: 4 4 4 3 4 4 3 4 5 4 ...
$ grouping: Factor w/ 7 levels "Class times conflict with my schedule",..: 1 1 1 1 1 1 1 1 1 1 ...
$ factors : NULL
$ nlevels : int 5
$ levels : chr [1:5] "Highly unlikely" "Somewhat unlikely" "Neither likely nor unlikely" "Somewhat likely" ...
Not sure why it is doing this.
The text was updated successfully, but these errors were encountered: