有沒有人有一個想法,爲什麼我會收到此錯誤:在automdl & & is.null[R X12 automdl麻煩
錯誤(華宇):無效的 'X' 型 'X & & Y'
當試圖在R軟件包x12中運行第二個示例時?
library(x12)
data(AirPassengers)
x12out <- x12(AirPassengers,x12path="c:\\x12arima\\x12a.exe",transform="auto",
automdl="TRUE")
用fulling指定的ARIMA工作運行第一個示例。
x12out <- x12(AirPassengers,x12path="c:\\x12arima\\x12a.exe",transform="auto",
arima=c(0,1,1),sarima=c(0,1,1),regvariables="lpyear",
sigmalim=c(2.0,3.0),outlier="all",critical=list(LS=3.5,TC=3),
seasonalma="s3x3")
很明顯,「automdl」由於某種原因而窒息?
嘗試'automdl = TRUE',不加引號。 – flodel