I have a dataset like this:
> df1
date count
1 2012-07-01 11.749347
2 2012-08-01 3.492433
3 2012-09-01 4.539559
4 2012-10-01 14.429109
5 2012-11-01 6.203474
6 2012-12-01 11.570248
7 2013-01-01 7.952286
8 2013-02-01 16.265912
9 2013-03-01 21.481481
10 2013-04-01 16.643551
11 2013-05-01 18.849206
12 2013-06-01 7.188498
13 2013-07-01 25.343643
14 2013-08-01 22.260274
15 2013-09-01 27.531957
16 2013-10-01 27.838428
17 2013-11-01 31.343284
18 2013-12-01 55.105348
As you can see in the plot, I have increasing and decreasing parts.
My questions now are : 1) How can I detect significant level changes in my data?
I already ran a MinMax function which gives me local mins and maxs, but do you have any other ideas how I could group my data into significant intervals which can be seen by human eye? I am searching for multilpe ways to do so.
tsoutlier
package. $\endgroup$tsoutliers(df1)
it says, function tsoutliers couldn't be found... $\endgroup$locate.outliers()
, have a look at the manual cran.r-project.org/web/packages/tsoutliers/tsoutliers.pdf. $\endgroup$ts()
format. $\endgroup$