c(2018, 2019, 2020, 2021)
You can see that 2018, 2019, 2020, 2021 are equal in both vectors.
I want to execute the index values for the values in DDD which are equal to EEE (31,32,33,34); and also the index values where EEE values are equal to DDD (1,2,3,4).
I tried the following commend but it didn't work
c(2018, 2019, 2020, 2021)
You can see that 2018, 2019, 2020, 2021 are equal in both vectors.
I want to execute the index values for the values in DDD which are equal to EEE (31,32,33,34); and also the index values where EEE values are equal to DDD (1,2,3,4).
I tried the following commend but it didn't work
which(EEE==DDD))
I thank-you very much in advance
[[alternative HTML version deleted]]