diff --git a/R/plot-qq.R b/R/plot-qq.R index 31c6c31e..621559b2 100644 --- a/R/plot-qq.R +++ b/R/plot-qq.R @@ -36,7 +36,7 @@ plotQQ <- function(data = NULL, validateIsNumeric(y) data <- data.frame(y = y) dataMapping <- dataMapping %||% QQDataMapping$new( - y = ifNotNull(y, "y"), + y = "y", data = data ) }