如何在gggplot2-R图中设置轴的限制?
library(ggplot2) carrots <- data.frame(length = rnorm(500000, 10000, 10000))cukes <- data.frame(length = rnorm(50000, 10000, 20000)) carrots$veg <- 'carrot'cukes$veg <- 'cuke'vegLengths <- rbind(carrots, cukes)ggplot(vegLengths, aes(length, fill = veg)) + geom_density(alpha = 0.2)
x=-50005000
慕勒3428872
烙印99
临摹微笑
随时随地看视频慕课网APP