Data test:
T RH
1 10
2 10
3 12
4 11
5 14
Look up Table:
T RH Rate
1 10 5
2 11 4
3 12 3
4 13 2
5 14 1
Output desired:
T RH Rate
1 10 5
2 10 NA
3 12 3
4 11 NA
5 14 1
NA because not matched with Lookup Table
What type of R-code cope with my problem? Thanks