My data format is the same as the sample data, but I have this error. Thus I want to ask how to solve the question as follows:
mage(mydata)
Error in [.default(tr, timeindex - 1) :
only 0's may be mixed with negative subscripts
I am looking forward to your reply, Thank you!