在R 語言中,我們可以善用cut() 函數來做這件事情。 df$new_column <- cut(df$column, ... 在R 語言中是無限大的數值,你可以在R Console 中輸入class(Inf) 來驗證。.
確定! 回上一頁