I am using R for the following.
I have a simple data frame as shown by the table picture below.
I would like to filter it so that only the max length of each type is shown. For example, something like below:
day_of_week max_ride_length
member Sat 16.97923
casual Sun 52.60897
I have no clue where to start. Can anyone provide any help?