再轉成數值型態即可:n_c_tmp <- as.numeric(as.character(f_tmp))。 下方有小範例。 When you want to change a factor full of numeric data to numeric ...
確定! 回上一頁