Skip to content

Commit

Permalink
docs: fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adamblake committed Feb 7, 2024
1 parent 65d8a1f commit 16535fe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Breaking changes

- Remove deprecated `superanova()`
- Remove magrittr, ggplot2, and backports dependencies
- Remove `magrittr`, `ggplot2`, and `backports` dependencies

## supernova 2.5.8

Expand Down
15 changes: 8 additions & 7 deletions R/pairwise.R
Original file line number Diff line number Diff line change
Expand Up @@ -391,16 +391,17 @@ tbl_sum.pairwise_tbl <- function(x) {

scale_type.supernova_number <- function(x) "continuous"

#' Autoplot method for pairwise objects.
#' Plotting method for pairwise objects.
#'
#' @param object A [`pairwise`] object.
#' @param ... Additional arguments passed to the plotting geom.
#' @details This function requires an optional dependency: [ggplot2][ggplot2::ggplot2-package]. When
#' this package is installed, calling `autoplot()` or `plot` on a `pairwise` object will generate a
#' plot of the pairwise comparisons. The plot will show the differences between the groups, with
#' error bars representing the confidence intervals. The x-axis will be labeled with the type of
#' confidence interval used and the values of the differences, and the y-axis will be labeled with
#' the groups being compared. A dashed line at 0 is included to help visualize the differences.
#' @details This function requires an optional dependency: [`ggplot2`][ggplot2::ggplot2-package].
#' When this package is installed, calling `autoplot()` or `plot` on a `pairwise` object will
#' generate a plot of the pairwise comparisons. The plot will show the differences between the
#' groups, with error bars representing the confidence intervals. The x-axis will be labeled with
#' the type of confidence interval used and the values of the differences, and the y-axis will be
#' labeled with the groups being compared. A dashed line at 0 is included to help visualize the
#' differences.
#'
#' @export
#' @importFrom rlang .data
Expand Down
17 changes: 9 additions & 8 deletions man/autoplot.pairwise.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 16535fe

Please sign in to comment.