I have 2 time series
Time No_Incidents
1     3           45
2     4           64
3     5           69
4     6           79
5     7           73
6     8           23
7     9           12
8    10           12
9    11          108
10   12           79
Time No_Changes
1     3          1
2     4          5
3     5          3
4     6         10
5     7          8
6     8          7
7     9          1
8    10          1
9    11          7
10   12         10
I need to find a correlation of the two time series to know whether certain changes cause spikes in incidents or not.I tried R's ccf function and find significant cross correlation with 2 lags.If I want to use lag plot is there any function in R to show the cross correlation for lag plot?
Also though it is showing there is negative correlation for lag=2 which means changes lead to incidents but practically does it make any sense if changes increase incidents will decrease.
Is there any way to study the correlation for these 2 time series?
 
     
    
