Skip to content

Conversation

@d-morrison
Copy link
Member

This pull request enhances the flexibility and usability of the autoplot.sim_results function by allowing users to customize which columns are mapped to the x-axis, group, and color aesthetics in plots. The documentation has been updated to reflect these new options.

Function enhancements:

  • Added new parameters to autoplot.sim_results: x_var, group_var, and color_var, allowing users to specify which columns in the input data frame are used for the x-axis, group, and color aesthetics in the plot.
  • Updated the function to use the values of x_var, group_var, and color_var when constructing the plot, replacing hardcoded column references.

Documentation updates:

  • Revised the Rd documentation for autoplot.sim_results to describe the new parameters and clarify the expected input format.

@d-morrison
Copy link
Member Author

@copilot update the changelog

Copy link
Contributor

Copilot AI commented Nov 11, 2025

@d-morrison I've opened a new pull request, #463, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

📖 https://UCD-SERG.github.io/serocalculator/preview/pr462/
Preview documentation for this PR (at commit d287e13)

Update changelog for autoplot.sim_results() enhancements
@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
R/autoplot.sim_results.R 100.00% <100.00%> (ø)

github-actions bot added a commit that referenced this pull request Jan 21, 2026
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.

2 participants