I can't figure out where the problem is, but i don't have values on my "MIN' and i still have "NA" on my graph after using some codes like na.mit() and drop_na, While going through other people's project i notice they have values on their "MIN", pictures and code chunks are slated below:
aggregate(all_trips_v2$ride_length ~ all_trips_v2$member_casual, FUN = mean)
aggregate(all_trips_v2$ride_length ~ all_trips_v2$member_casual, FUN = median)
aggregate(all_trips_v2$ride_length ~ all_trips_v2$member_casual, FUN = max)
aggregate(all_trips_v2$ride_length ~ all_trips_v2$member_casual, FUN = min)
all 4 functions you mention have na.rm parameters ; which if set to TRUE would have them ignore NA values
or like you say you could na.omit() over your data.frame and then do the calculation; you've show no sign of having done this; so we can't comment on if you have done it incorrectly. If you did do it did you remember to assign the result back to a name with <-
I am afraid i don't know how to load the data in here, however the datasets is very big, it's Cyclistic’s_Trips_Data data frame head (Cyclistic's_Trip_Data)#> ride_id, rideable_type, started_at, ended_at, start_station_name, start_station_id, end_station_name, end_station_id, member_casual, ride_length, day_of_week,#> 12 months data frame from 2022_01_01 to 2022_12_12.