diff --git a/R/sanitize_type.R b/R/sanitize_type.R index 074336ca..d75f7db9 100644 --- a/R/sanitize_type.R +++ b/R/sanitize_type.R @@ -30,7 +30,7 @@ sanitize_type = function(settings) { "errorbar", "function", "glm", - "hexbin", + "hex", "hexbin", "hist", "histogram", "hline", "j", "jitter", @@ -91,6 +91,7 @@ sanitize_type = function(settings) { "errorbar" = type_errorbar, "function" = type_function, "glm" = type_glm, + "hex" = type_hexbin, "hexbin" = type_hexbin, "hist" = type_histogram, "histogram" = type_histogram, diff --git a/R/type_hexbin.R b/R/type_hexbin.R index 8f19beec..3b45080e 100644 --- a/R/type_hexbin.R +++ b/R/type_hexbin.R @@ -75,7 +75,7 @@ #' set.seed(1234) #' dat = data.frame(x = rnorm(20000), y = rnorm(20000)) #' -#' # "hexbin" type convenience string +#' # "hexbin"/"hex" type convenience string #' tinyplot(y ~ x, data = dat, type = "hexbin") #' #' # Use type_hexbin() to pass extra arguments diff --git a/R/zzz.R b/R/zzz.R index 5f1089ca..9a69f29c 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -40,6 +40,7 @@ "facet_col", "facet_dep", "facet_font", + "facet_labs", "facet_newlines", "facet_rect", "facet_text", diff --git a/man/facet.Rd b/man/facet.Rd index 4a071680..35bb4d7b 100644 --- a/man/facet.Rd +++ b/man/facet.Rd @@ -49,6 +49,7 @@ draw_facet_window( rev_y = FALSE, xlim_partial = NULL, ylim_partial = NULL, + facet_labs = NULL, asp, log, dots, diff --git a/man/type_hexbin.Rd b/man/type_hexbin.Rd index a5f9c463..fe8ee4e0 100644 --- a/man/type_hexbin.Rd +++ b/man/type_hexbin.Rd @@ -84,7 +84,7 @@ against this package to confirm they match exactly. set.seed(1234) dat = data.frame(x = rnorm(20000), y = rnorm(20000)) -# "hexbin" type convenience string +# "hexbin"/"hex" type convenience string tinyplot(y ~ x, data = dat, type = "hexbin") # Use type_hexbin() to pass extra arguments