You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error during wrapup: task 1 failed - "variable lengths differ (found for 'xregg')"
Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Hi,
I don't know if there is a problem but it seems that the
cv
function struggle to handle thexreg
argument if we choose anhybridModel
asFUN
When I run this code:
I get this error message:
Any idea of the problem ?
Edit : I just found the solution to the problem.
This is quite tricky, probably it could be nice to add an example in the R/Rd files.
#Using custom model functions with xreg.
cvmodCustom=cvts(series, FUN=function(y, xreg=xreg){hybridModel(y,
models="an")}, xreg=x)
The text was updated successfully, but these errors were encountered: