I used the function pmax() to retrive the maximum value across two columns. What I would like to do is creating a new variable indicating the column storing the value provid