Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Imports:
ggcorrplot (>= 0.1.4.1),
ggplot2 (>= 4.0.1),
ggrepel (>= 0.9.6),
ggside (>= 0.4.0),
ggside (>= 0.4.1),
ggsignif (>= 0.6.4),
glue (>= 1.8.0),
insight (>= 1.4.2),
insight (>= 1.4.3),
magrittr (>= 2.0.4),
paletteer (>= 1.6.0),
parameters (>= 0.28.2),
parameters (>= 0.28.3),
patchwork (>= 1.3.2),
performance (>= 0.15.2),
purrr (>= 1.2.0),
Expand Down
11 changes: 6 additions & 5 deletions R/ggbarstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,12 @@ ggbarstats <- function(
#' sample_frac(size = 0.05)
#'
#' grouped_ggbarstats(
#' data = diamonds_short,
#' x = color,
#' y = clarity,
#' grouping.var = cut,
#' plotgrid.args = list(nrow = 2L)
#' data = diamonds_short,
#' x = color,
#' y = clarity,
#' grouping.var = cut,
#' plotgrid.args = list(nrow = 2L),
#' annotation.args = list(title = "Diamond quality by color and clarity")
#' )
#' @export
grouped_ggbarstats <- function(
Expand Down
3 changes: 2 additions & 1 deletion R/ggbetweenstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ ggbetweenstats <- function(
#' ggplot.component = scale_y_continuous(
#' breaks = seq(1, 9, 1),
#' limits = (c(1, 9))
#' )
#' ),
#' annotation.args = list(title = "Ratings by genre for different MPAA ratings")
#' )
#' @export
grouped_ggbetweenstats <- function(
Expand Down
11 changes: 6 additions & 5 deletions R/ggdotplotstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,12 @@ ggdotplotstats <- function(
#'
#' # plot
#' grouped_ggdotplotstats(
#' data = df,
#' x = cty,
#' y = manufacturer,
#' grouping.var = cyl,
#' test.value = 15.5
#' data = df,
#' x = cty,
#' y = manufacturer,
#' grouping.var = cyl,
#' test.value = 15.5,
#' annotation.args = list(title = "City mileage by manufacturer for different cylinders")
#' )
#' @export
grouped_ggdotplotstats <- function(
Expand Down
7 changes: 6 additions & 1 deletion R/ggpiestats.R
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,12 @@ ggpiestats <- function(
#' @examplesIf identical(Sys.getenv("NOT_CRAN"), "true")
#' set.seed(123)
#' # grouped one-sample proportion test
#' grouped_ggpiestats(mtcars, x = cyl, grouping.var = am)
#' grouped_ggpiestats(
#' data = mtcars,
#' x = cyl,
#' grouping.var = am,
#' annotation.args = list(title = "Cylinder distribution by transmission type")
#' )
#' @export
grouped_ggpiestats <- function(
data,
Expand Down
3 changes: 2 additions & 1 deletion R/ggwithinstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ ggwithinstats <- function(
#' grouping.var = gender,
#' type = "np",
#' # additional modifications for **each** plot using `{ggplot2}` functions
#' ggplot.component = scale_y_continuous(breaks = seq(0, 10, 1), limits = c(0, 10))
#' ggplot.component = scale_y_continuous(breaks = seq(0, 10, 1), limits = c(0, 10)),
#' annotation.args = list(title = "Desire ratings by condition for each gender")
#' )
#' @export
grouped_ggwithinstats <- function(
Expand Down
8 changes: 4 additions & 4 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
"@type": "SoftwareApplication",
"identifier": "ggside",
"name": "ggside",
"version": ">= 0.4.0",
"version": ">= 0.4.1",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -424,7 +424,7 @@
"@type": "SoftwareApplication",
"identifier": "insight",
"name": "insight",
"version": ">= 1.4.2",
"version": ">= 1.4.3",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -463,7 +463,7 @@
"@type": "SoftwareApplication",
"identifier": "parameters",
"name": "parameters",
"version": ">= 0.28.2",
"version": ">= 0.28.3",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -557,7 +557,7 @@
},
"SystemRequirements": null
},
"fileSize": "9310.333KB",
"fileSize": "9311.344KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
11 changes: 6 additions & 5 deletions man/grouped_ggbarstats.Rd

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

3 changes: 2 additions & 1 deletion man/grouped_ggbetweenstats.Rd

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

11 changes: 6 additions & 5 deletions man/grouped_ggdotplotstats.Rd

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

7 changes: 6 additions & 1 deletion man/grouped_ggpiestats.Rd

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

3 changes: 2 additions & 1 deletion man/grouped_ggwithinstats.Rd

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

Loading