Skip to content

Commit

Permalink
Merge pull request #301 from easystats/qq_syntax
Browse files Browse the repository at this point in the history
Use .data pronoun instead of deprecated ..sample.. syntax
  • Loading branch information
bwiernik authored Aug 31, 2023
2 parents 80876a1 + c4c2895 commit 5b80195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot.check_normality.R
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ plot.see_check_normality <- function(x,
}
,
ggplot2::geom_qq(
mapping = if (detrend) ggplot2::aes(y = ggplot2::after_stat(..sample..) - ggplot2::after_stat(..theoretical..)),
mapping = if (detrend) ggplot2::aes(y = ggplot2::after_stat(.data$sample) - ggplot2::after_stat(.data$theoretical)),
shape = 16,
na.rm = TRUE,
stroke = 0,
Expand Down

0 comments on commit 5b80195

Please sign in to comment.