编码:
a <- structure(list(`X$Days` = c("10", "38", "66", "101", "129", "185", "283",
"374")), .Names = "X$Days")
然后a
就像
$`X$Days`
[1] "10" "38" "66" "101" "129" "185" "283" "374"
我想强制a
转换为数值数组,但强制函数返回我
Error: (list) object cannot be coerced to type 'double'
谢谢,