單一變數箱形圖 ggplot(ToothGrowth, aes(y = len)) + geom_boxplot() + # 箱形圖 scale_x_discrete() + # 移除X 軸標示 ylab("Length") # Y 軸標示文字
確定! 回上一頁