Thanks for the quick reply!!
dput(head(trips, 10))
structure(list(id = c(119L, 174L, 218L, 371L, 448L, 494L, 654L,
788L, 836L, 849L), duration = c(394L, 386L, 589L, 3715L, 723L,
274L, 293L, 877L, 708L, 376L), start_station = c(10L, 24L, 22L,
47L, 31L, 39L, 32L, 27L, 38L, 10L), end_station = c(32L, 48L,
49L, 47L, 35L, 39L, 14L, 16L, 22L, 32L), birth_date = c(1975L,
1986L, 1978L, 1973L, 1978L, 1974L, 1981L, 1958L, 1962L, 1974L
), gender = c("Male", "Male", "Male", "Female", "Male", "Male",
"Male", "Male", "Female", "Male"), subscription_type = c("Registered",
"Registered", "Registered", "Registered", "Registered", "Registered",
"Registered", "Registered", "Registered", "Registered"), hours = c(0.109444444444444,
0.107222222222222, 0.163611111111111, 1.03194444444444, 0.200833333333333,
0.0761111111111111, 0.0813888888888889, 0.243611111111111, 0.196666666666667,
0.104444444444444), age = c(36, 25, 33, 38, 33, 37, 30, 53, 49,
37), agecat = structure(c(2L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L), .Label = c("junior", "adult", "senior"), class = "factor")), row.names = c(1L,
2L, 3L, 8L, 12L, 14L, 18L, 22L, 25L, 26L), class = "data.frame")