1
我是動物園的新用戶,試圖獲取動物園對象中兩個元素的最小值,並將其分配給其中一個元素。我收到以下錯誤消息。請幫助擺脫一些燈。動物園警告:要替換的項目數不是替換長度的倍數
library("tseries")
IBM <- get.hist.quote(instrument="IBM", start="2012-01-01", end="2012-12-31")
IBM[1]$Low <- min(IBM[1]$Low , IBM[2]$Low)
Warning message:
In NextMethod("[<-") :
number of items to replace is not a multiple of replacement length
這似乎像在動物園一個錯誤,但約書亞表示,它不地道所以它可能不會是非常高的優先級。 – 2013-02-25 15:55:16
謝謝,夥計們。這對我來說很好。 – michael 2013-02-25 17:03:44