最佳答案
密码:
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'
谢谢,