摘要: 001、 pdf("xxx.pdf", width = 8, height = 8) # 调整PDF的宽高比例,更适合阅读 CMplot(data1, type = "p", plot.type = "m", LOG10 = FALSE, col = c("blue4", "orange3"), c 阅读全文
posted @ 2025-07-26 17:10 小鲨鱼2018 阅读(22) 评论(0) 推荐(0)
摘要: R语言中mutate函数 001、 举例1, 向数据框中添加新列 library(dplyr) dat <- data.frame( a = 1:5, b = 11:15, c = 101:105) ## 测试数据框 dat mutate(dat, new_col = "xx") ## 利用muta 阅读全文
posted @ 2025-07-26 16:48 小鲨鱼2018 阅读(51) 评论(0) 推荐(0)