Re: [R] Reg: Frequency in declaring time series data

2023-01-16 Thread Rui Barradas
Às 20:52 de 16/01/2023, Upananda Pani escreveu: Hi Rui, Thank you so much for your help. As I have to fit a Markov Switching Model using MSwM package. May I know whether i can convert from zoo object to a time series object. As I have to use several packages which uses ts so I am not able to

Re: [R] Reg: Frequency in declaring time series data

2023-01-16 Thread Rui Barradas
Às 16:39 de 16/01/2023, Upananda Pani escreveu: Dear All, I have a time series daily data with date are stored ( %dd-%mm-%yy format ) from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the following command to declare as a time series object. Here the the data set is 7 days

[R] Reg: Frequency in declaring time series data

2023-01-16 Thread Upananda Pani
Dear All, I have a time series daily data with date are stored ( %dd-%mm-%yy format ) from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the following command to declare as a time series object. Here the the data set is 7 days a week. oil <- read_xlsx("crudefinal.xlsx") pricet