$ 0 0 I have a table from which I require a sub-table that has unique values of column A and the maximum value of that particular A value from column B.Example, I have the df: How do I get the output like this? How could I achieve this in R?