📜  更改图例中的标签 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.987000             🧑  作者: Mango

代码示例1
levels(data_new$group) <- list(
    "Group 1" = "a",        # Change factor levels
    "Group 2" = "b",
    "Group 3" = "c"
)