IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
92 stars 42 forks source link

Tseries #381

Closed Usukhbayar13 closed 1 year ago

Usukhbayar13 commented 1 year ago

I use tmp = tseries(get(x,'first') + (-12:-1),1); with old version of IRIS to create series 12 period before first period of "x" . Now i want to convert this code to Iris 23. When i use series, it does not work. Pls help me. How can i convert this code to compatible with new version of Iris .

jaromir-benes commented 1 year ago

tmp = Series(getStart(x)+(-12:-1), 1)

Mind the capitalization of the "Series" class name.

On Tue, Aug 15, 2023 at 10:18 AM Usukhbayar13 @.***> wrote:

I use tmp = tseries(get(x,'first') + (-12:-1),1); with old version of IRIS to create series 12 period before first period of "x" . Now i want to convert this code to Iris 23. When i use series, it does not work. Pls help me. How can i convert this code to compatible with new version of Iris .

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKWALPVGMQFKDUKKV6DXVMWFZANCNFSM6AAAAAA3QYGALY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Usukhbayar13 commented 1 year ago

thanks a lot