我正在尝试在调查数据上建立一个李克特图,唯一我不知道的是如何移动该原点,以便满意和非常满意在同一边。任何人都可以帮忙吗?
library(sjPlot)
library(sjmisc)
dta <- structure(list(`Medical: Overall` = structure(c(3L, 3L, 4L, 4L,
4L, 3L, 4L, 4L, 3L, 1L, 3L), .Label = c("Don't Use", "Less Satisfied",
"Satisfied", "Very Satisfied"), class = "factor"), `Medical: Plan Options` = structure(c(4L,
3L, 4L, 4L, 4L, 2L, 4L, 3L, 3L, 1L, 3L), .Label = c("Don't Use",
"Less Satisfied", "Satisfied", "Very Satisfied"), class = "factor"),
`Medical: Rx Costs` = structure(c(3L, 4L, 3L, 4L, 3L, 3L,
4L, 1L, 3L, 1L, 3L), .Label = c("Don't Use", "Less Satisfied",
"Satisfied", "Very Satisfied"), class = "factor"), `Medical: Mail Order for Rx` = structure(c(1L,
3L, 2L, 2L, 4L, 2L, 4L, 1L, 1L, 1L, 2L), .Label = c("Don't Use",
"Less Satisfied", "Satisfied", "Very Satisfied"), class = "factor")), row.names = 10:20, class = "data.frame")
clrs <- c("#FD6467", "#ABDDDE", "#81A88D")
plot_likert(dta, catcount=3, cat.neutral = 1, sort.frq="neg.desc",
reverse.colors=T, values = "show", show.n=F, digits=0, show.prc.sign=T,
show.legend=T, geom.colors=clrs)