已經把x1定義為numerical了,為什么class(x1)還是integer啊。在控制臺輸入x1<-as.numeric(x1)后,再class(x1)才變成numerical。為什么?。壳蟾呤指嬷?。 查看完整描述