Much like this previous question, I am trying to create some histograms with ggplot2 and would like to add a "greater than X"-bin that includes all values greater than some value.
In this particular case, I am dealing with a set of bike trip data with trip durations that vary from very small (under a minute) to very, very large (hours to days). I have filter()
ed the set to remove the truly extraneous rows, but I would still like to show some of the outliers on the plot.
I had already found the solution given there, the package ggoutlier, but it evidently requires the data be in a data.frame
—I get an error message that "is.data.frame(x) is not TRUE"
. This is correct, x
is a tibble—is there another solution that works with a tibble?