You can use the as.Date() function in R to quickly convert character objects to date…
Time Series in R
-
-
RSoftware TutorialsTime Series in R
The Complete Guide to Date Formats in R
by Erma Khanby Erma KhanThe following table shows a variety of symbols that you can use to format dates…
-
RSoftware TutorialsTime Series in R
How to Find Day of the Week in R (With Examples)
by Erma Khanby Erma KhanYou can use the following functions from the lubridate package in R to quickly find…
-
RSoftware TutorialsTime Series in R
Augmented Dickey-Fuller Test in R (With Example)
by Erma Khanby Erma KhanA time series is said to be “stationary” if it has no trend, exhibits constant…
-
The symmetric mean absolute percentage error (SMAPE) is used to measure the predictive accuracy of…
-
RSoftware TutorialsTime Series in R
How to Perform Naive Forecasting in R (With Examples)
by Erma Khanby Erma KhanA naive forecast is one in which the forecast for a given period is simply…
-
RSoftware TutorialsTime Series in R
How to Calculate Mean Absolute Error in R
by Erma Khanby Erma KhanIn statistics, the mean absolute error (MAE) is a way to measure the accuracy of…
-
RSoftware TutorialsTime Series in R
How to Perform Lowess Smoothing in R (Step-by-Step)
by Erma Khanby Erma KhanIn statistics, the term lowess refers to “locally weighted scatterplot smoothing” – the process of…
-
RSoftware TutorialsTime Series in R
How to Calculate Median Absolute Deviation in R
by Erma Khanby Erma KhanThe median absolute deviation measures the spread of observations in a dataset. It’s a particularly…
-
RSoftware TutorialsTime Series in R
How to Subset by a Date Range in R (With Examples)
by Erma Khanby Erma KhanThe easiest way to subset a data frame by a date range in R is…