我无法绘制未居中的李克特,而是从 0 - 100% 的比例。我正在尝试 centered = FALSE 但它不起作用。
这是我用来尝试绘制的代码:
likert(Disease ~ .,data=comorb,
main = "Comorbidities at hospital admission",
ylab="",
xlab ="Percentage of patients with comorbidity",
col=c("#25ade5",adjustcolor("#25ade5",alpha.f=0.3)),
as.percent = TRUE,
rightAxis = FALSE,
box.ratio = 5,
ReferenceZero = NULL,
centered = FALSE,
)