diff --git a/R/gg_histogram.R b/R/gg_histogram.R index 7461b716b..3dc986d99 100644 --- a/R/gg_histogram.R +++ b/R/gg_histogram.R @@ -70,12 +70,6 @@ #' gg_histogram(diamonds, x = price, col = cut) #' gg_histogram(diamonds, x = price, col = cut, position = "fill") #' -#' gg_histogram(economics_long, x = value, facet = variable, -#' binwidth = function(x) 2 * IQR(x) / (length(x)^(1/3)), -#' facet_scales = "free_x", -#' x_breaks = scales::breaks_pretty(3), -#' facet_ncol = 2) -#' gg_histogram <- function( data = NULL, x = NULL, diff --git a/man/gg_histogram.Rd b/man/gg_histogram.Rd index 0a45d6978..2edab2f18 100644 --- a/man/gg_histogram.Rd +++ b/man/gg_histogram.Rd @@ -193,10 +193,4 @@ gg_histogram(diamonds, y = carat) gg_histogram(diamonds, x = price, col = cut) gg_histogram(diamonds, x = price, col = cut, position = "fill") -gg_histogram(economics_long, x = value, facet = variable, - binwidth = function(x) 2 * IQR(x) / (length(x)^(1/3)), - facet_scales = "free_x", - x_breaks = scales::breaks_pretty(3), - facet_ncol = 2) - }