df$value2 <- df$value * 100 / vt # 計算每個值的百分比放入新欄位標題value2. df # 顯示df內容,多了標題value2. 4. 安裝繪圖程式套件ggplot2。
確定! 回上一頁