Add trace_plot() for visualizing parameter evolution over timepoints#60
Merged
Add trace_plot() for visualizing parameter evolution over timepoints#60
Conversation
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
… models Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add trace plotting function for time series dynamics
Add trace_plot() for visualizing parameter evolution over timepoints
Jan 22, 2026
osorensen
requested changes
Jan 22, 2026
Owner
osorensen
left a comment
There was a problem hiding this comment.
- Use Rdpack to handle references, rather than hard-coding Sørensen (2025) in the documentation. References are in inst/REFERENCES.bib. The Rdpack package provides the functionality.
- Don't include trace plot of tau in the example. Only alpha.
| #' Create Trace Plots for BayesMallowsSMC2 Objects | ||
| #' | ||
| #' Visualize the timeseries dynamics of the alpha and tau parameters across | ||
| #' timepoints. This function creates trace plots similar to Figure 4 (left) in |
Owner
There was a problem hiding this comment.
@copilot Use Rdpack to handle references, rather than hard-coding Sørensen (2025) in the documentation.
Contributor
Author
There was a problem hiding this comment.
Done in fcee400. Added Rdpack to DESCRIPTION (Imports and RdMacros) and replaced hard-coded citation with \insertRef{10.1214/25-BA1564}{BayesMallowsSMC2} in both the description and references section.
…mentation Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
Contributor
Author
Done in fcee400. Added Rdpack support and removed the tau example from documentation, keeping only the alpha example as requested. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation Plan for Trace Plotting Functions
Summary
Successfully implemented
trace_plot()function for visualizing the timeseries dynamics of alpha and tau parameters.Recent Changes (addressing PR feedback):
\insertRef{10.1214/25-BA1564}{BayesMallowsSMC2}instead of hard-coded "Sørensen (2025)"Features:
✓ Trace plots for alpha and tau parameters
✓ Weighted mean line with 95% credible intervals
✓ Support for single cluster and mixture models
✓ Comprehensive error handling and validation
✓ Full test coverage (13 tests passing)
✓ Proper bibliographic references via Rdpack
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.