From f3650a659228fc0cbf36a7a09378b5f9a28205a3 Mon Sep 17 00:00:00 2001 From: William Lai <44103957+williamlai2@users.noreply.github.com> Date: Tue, 13 May 2025 10:50:45 +1000 Subject: [PATCH] Extra information on the 'position' parameter. --- R/guide-legend.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/guide-legend.R b/R/guide-legend.R index 6581c31556..3ce4c995d2 100644 --- a/R/guide-legend.R +++ b/R/guide-legend.R @@ -18,6 +18,7 @@ #' guide overrides, and is combined with, the plot's theme. #' @param position A character string indicating where the legend should be #' placed relative to the plot panels. + One of "top", "right", "bottom", "left", or "inside". #' @param direction A character string indicating the direction of the guide. #' One of "horizontal" or "vertical." #' @param override.aes A list specifying aesthetic parameters of legend key.