I am new to R. I have 3 data frames as
a1
1 p53
2 NFKB
3 P73
4 P21
5 PTEN
a2
1 p21
2 p53
3 ERGIC3
4 MAP3K3
5 PTEN
a3
1 PTEN
2 MAP3K3
3 ERGIC3
4 AURKA
5 p53
I have get a table as the output showing only the common values like p53 and PTEN which is common in all the three data frames. How should I write the code in R?