From 405542e70ce96da9b11b706eb67e83c673143a45 Mon Sep 17 00:00:00 2001 From: "Adam H. Sparks" Date: Thu, 1 Aug 2024 19:16:22 +0800 Subject: [PATCH] Set `y` to `NULL` --- R/plot_aagi.R | 2 +- man/plot_aagi.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/plot_aagi.R b/R/plot_aagi.R index 446c664..871e17a 100644 --- a/R/plot_aagi.R +++ b/R/plot_aagi.R @@ -29,7 +29,7 @@ #' @export #' plot_aagi <- function(x, - y, + y = NULL, ...) { if (is.null(col)) { diff --git a/man/plot_aagi.Rd b/man/plot_aagi.Rd index fe61042..94621a2 100644 --- a/man/plot_aagi.Rd +++ b/man/plot_aagi.Rd @@ -4,7 +4,7 @@ \alias{plot_aagi} \title{Basic X-Y Plotting Using a Unified AAGI Style and Typography} \usage{ -plot_aagi(x, y, ...) +plot_aagi(x, y = NULL, ...) } \arguments{ \item{x}{the coordinates of points in the plot. Alternatively, a single