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
which would return Error in fitted[, i] <- fitted(barima) :
number of items to replace is not a multiple of replacement length
The same error was also encountered when using mortality rates of Austria, Belgium, Bulgaria, Hungary, Ireland and Spain that were cleaned or transformed to avoid 0 and NA values.
However, I did not receive an error when using mortality rates of Australia, Italy, France and Scotland.
Any help to address these inconsistencies would be much appreciated. Thank you in advance.
The text was updated successfully, but these errors were encountered:
This appears to be a problem in ftsa::forecast.ftsm() rather than the demography package. Some weights are set to zero (due to you using method="M"), but then the ftsa package ignores that when computing fitted values. So the problem needs to be solved by the maintainer of the ftsa package. I will alert him.
Hello,
I encountered an error when I tried to forecast an fdm object with Japan mortality rates.
The code:
which would return
Error in fitted[, i] <- fitted(barima) :
number of items to replace is not a multiple of replacement length
The same error was also encountered when using mortality rates of Austria, Belgium, Bulgaria, Hungary, Ireland and Spain that were cleaned or transformed to avoid 0 and NA values.
However, I did not receive an error when using mortality rates of Australia, Italy, France and Scotland.
Any help to address these inconsistencies would be much appreciated. Thank you in advance.
The text was updated successfully, but these errors were encountered: