I have a short question regarding the data analysis. I have 2 data sets (data data frames *df). The first one is a signal which is yes / no / maybe and a second one is a data set which is response to this signal in percentage. The percentage increases after each yes and maybe (Like a rain fact and plant disease level). The signal response (second data set is delayed in time). I need to find out the relationships between this to data sets (signal and response). Which is the best method to do this in R.

PS.I tried cross correlation but results are not clear.

Thank you all

Example

Date Signal Response

01.02.2018 / no (as o) / 0%

01.03.2018 / yes (as 2) / 0%

01.04.2018 / no (as 0) / 0%

01.05.2018 / maybe (as 1) / 2%

etc....

Similar questions and discussions