[R] Plot function: hourly data and x-axis

2018-08-09 Thread Edoardo Silvestri
Hi all, I have a little problem with plot function.. I have an hourly dataset and I would like plot a variable with x-axis based on daily or monthly frequency, just to have a better visualization and avoid on x-axis all hours of the dataset. Do you know what is the solution? Thanks Edo [[

[R] Lag function

2018-08-07 Thread Edoardo Silvestri
I have an hourly database and I defined a variable as follows: time<-ts(data$variable, frequency=24) If i need to create the variables with one day lag, the corresponding command is lag(time,24)? Thank you [[alternative HTML version deleted]]

[R] New post for Rhelp

2018-08-01 Thread Edoardo Silvestri
I have a database based on hourly data and I need to forecast next 24h of a single variable. I was thinking about applying an ARIMA model with some exogenous variables but I don't succeed to configure the hourly frequency, estimate ARIMA parameters, pdq ( exists some tests to check which parameters