I want to make a new column in r data frame. I want to put in this column values from other column as this example :
ID column1 column2
1 C C
2 B C
3 A A
4 C B
The new column should have any C available in the 2 columns and its value should be present like this :
ID column1 column2 new column
1 C C Present
2 B C Present
3 A A Absent
4 C B Present
becuse I want the C only from the columns Can you please help me?