Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 27, 2025

Updates examples for grouped_ functions to demonstrate annotation.args usage, addressing documentation gap where some functions lacked examples of this parameter.

Changes

  • R source files updated: ggbetweenstats.R, ggwithinstats.R, ggbarstats.R, ggpiestats.R, ggdotplotstats.R
  • Man pages updated: corresponding .Rd files in man/

Example

grouped_ggbetweenstats(
  data = filter(movies_long, genre %in% c("Action", "Comedy"), mpaa %in% c("R", "PG")),
  x = genre,
  y = rating,
  grouping.var = mpaa,
  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")
)

Functions already covered (unchanged)

  • grouped_gghistostats, grouped_ggcorrmat, grouped_ggscatterstats
Original prompt

This section details on the original issue you should resolve

<issue_title>Update all examples for grouped_ to show how to use annotation.args argument</issue_title>
<issue_description></issue_description>

<agent_instructions>Also make sure to update man/.Rd files for this change</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update examples for grouped_ to use annotation.args Add annotation.args examples to all grouped_ function documentation Nov 27, 2025
Copilot AI requested a review from IndrajeetPatil November 27, 2025 04:59
@IndrajeetPatil IndrajeetPatil marked this pull request as ready for review November 27, 2025 05:06
@IndrajeetPatil IndrajeetPatil merged commit 7f6b18b into main Nov 27, 2025
23 checks passed
@IndrajeetPatil IndrajeetPatil deleted the copilot/update-grouped-examples-annotation-args branch November 27, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update all examples for grouped_ to show how to use annotation.args argument

2 participants