Error: (list) object cannot be coerced to type 'double’的問題解決方案
> data5b2<-as.numeric(data5b1)
Error: (list) object cannot be coerced to type 'double'
想要一個數據框裏的左右數據轉化爲數值型時,出現以下報錯
Error: (list) object cannot be coerced to type 'double'
通過**unlist()**函數完美解決
> data5b2<-as.numeric(unlist(data5b1))